Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: puneet_m on August 24, 2007, 08:51:12 pm

Title: Class Declaration in CodeBlock
Post by: puneet_m on August 24, 2007, 08:51:12 pm
What does it mean when class is declared as
class WXDLLEXPORT wxMenu;

What is WXDLLEXPORT for?
Title: Re: Class Declaration in CodeBlock
Post by: Biplab on August 24, 2007, 09:10:08 pm
What does it mean when class is declared as
class WXDLLEXPORT wxMenu;

What is WXDLLEXPORT for?

There is a nice feature in C::B. "Find declaration of ..." and "Find implementation of ..." any object, variable, etc. So right click on the code and select appropriate menu option. Do this with WXDLLEXPORT and you'll come to know more about it.
Title: Re: Class Declaration in CodeBlock
Post by: puneet_m on August 24, 2007, 11:39:26 pm
At many places I can see the declaration like class DLLIMPORT EditorManager. What does DLLIMPORT do?
Title: Re: Class Declaration in CodeBlock
Post by: stahta01 on August 25, 2007, 12:14:55 am
See wxWidgets file wx/dlimpexp.h for some info on this.

Tim S