Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7777303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:06:27+00:00 2026-06-01T18:06:27+00:00

I was reading this particular code snippet:- class WXDLLIMPEXP_CORE wxCommandEvent : public wxEvent, public

  • 0

I was reading this particular code snippet:-

  class WXDLLIMPEXP_CORE wxCommandEvent : public wxEvent, public wxEventBasicPayloadMixin

this is defined in event.h header file , i didn’t understand “WXDLLIMPEXP_CORE”.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:06:28+00:00Added an answer on June 1, 2026 at 6:06 pm

    If we have a look at where it is defined we see

    #ifdef WXMAKINGDLL_CORE
    #    define WXDLLIMPEXP_CORE WXEXPORT
    #    define WXDLLIMPEXP_DATA_CORE(type) WXEXPORT type
    #    if defined(HAVE_VISIBILITY)
    #        define WXDLLIMPEXP_INLINE_CORE WXEXPORT
    #    else
    #        define WXDLLIMPEXP_INLINE_CORE
    #    endif
    #elif defined(WXUSINGDLL)
    #    define WXDLLIMPEXP_CORE WXIMPORT
    #    define WXDLLIMPEXP_DATA_CORE(type) WXIMPORT type
    #    if defined(HAVE_VISIBILITY)
    #        define WXDLLIMPEXP_INLINE_CORE WXIMPORT
    #    else
    #        define WXDLLIMPEXP_INLINE_CORE
    #    endif
    #else /* not making nor using DLL */
    #    define WXDLLIMPEXP_CORE
    #    define WXDLLIMPEXP_DATA_CORE(type) type
    #    define WXDLLIMPEXP_INLINE_CORE
    #endif
    

    The comments elsewhere in the file are pretty explanatory as to what is happening, but a brief summary is that there are three cases, we are making a DLL, using a DLL or not using one at all. The last case is the simplest, if we are not using DLLs at all then they are defined away to nothing. If we are making a DLL then it marks the class as exported, and if we are using a DLL then it marks the class as imported.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm reading this code sample : And since I don't know C#, I decided
Hey, in a tutorial C++ code, I found this particular piece of confusion: PlasmaTutorial1::PlasmaTutorial1(QObject
I'm reading Understanding Linux Kernel. This is the snippet that explains how Linux uses
How would you write this code? This particular question is about a maze game
I stumbled upon this piece of code while reading about DES encryption. I wonder
Reading this page , it says: ...the URI in a PUT request identifies the
Reading this article http://support.microsoft.com/kb/813878 I have a question: Where can I get ipseccmd.exe for
After reading this post I kinda felt in the same position as the guy
After reading this article on thedailywtf.com, I'm not sure that I really got the
After reading this: http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#how-to-use-it I came to the conclusion that it is not valid

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.