X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index 41dc31feb6..6858103d6e 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -24,7 +24,7 @@ #include "wx/window.h" // base class -extern const wxChar* wxControlNameStr; // the default name +WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr; // ---------------------------------------------------------------------------- // wxControl is the base class for all controls @@ -48,8 +48,8 @@ public: // get the control alignment (left/right/centre, top/bottom/centre) int GetAlignment() const { return m_windowStyle & wxALIGN_MASK; } -#ifdef __WXMAC_X__ - virtual ~wxControlBase() { } // Added min for Mac X +#ifdef __DARWIN__ + virtual ~wxControlBase() { } #endif protected: