X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..721a4a08bce5245dd748a9f4c64c5d25a02e8155:/include/wx/control.h?ds=sidebyside 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: