Author Topic: Class Declaration in CodeBlock  (Read 3541 times)

Offline puneet_m

  • Multiple posting newcomer
  • *
  • Posts: 73
Class Declaration in CodeBlock
« on: August 24, 2007, 08:51:12 pm »
What does it mean when class is declared as
class WXDLLEXPORT wxMenu;

What is WXDLLEXPORT for?
« Last Edit: August 24, 2007, 08:58:21 pm by puneet_m »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Class Declaration in CodeBlock
« Reply #1 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.
Be a part of the solution, not a part of the problem.

Offline puneet_m

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: Class Declaration in CodeBlock
« Reply #2 on: August 24, 2007, 11:39:26 pm »
At many places I can see the declaration like class DLLIMPORT EditorManager. What does DLLIMPORT do?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Class Declaration in CodeBlock
« Reply #3 on: August 25, 2007, 12:14:55 am »
See wxWidgets file wx/dlimpexp.h for some info on this.

Tim S

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org