#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
class WXDLLEXPORT wxControlBase : public wxWindow
{
public:
+ virtual ~wxControlBase();
+
// Create() function adds the validator parameter
bool Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
// 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
-#endif
-
protected:
// creates the control (calls wxWindowBase::CreateBase inside) and adds it
// to the list of parents children
#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__)