X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..e34732036315991c0ab6ab9035fa844c5080ee19:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index 41dc31feb6..549f98d183 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: @@ -82,8 +82,6 @@ protected: #include "wx/motif/control.h" #elif defined(__WXGTK__) #include "wx/gtk/control.h" -#elif defined(__WXQT__) - #include "wx/qt/control.h" #elif defined(__WXMAC__) #include "wx/mac/control.h" #elif defined(__WXPM__)