// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "controlbase.h"
#endif
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 __DARWIN__
- virtual ~wxControlBase() { }
-#endif
-
protected:
// creates the control (calls wxWindowBase::CreateBase inside) and adds it
// to the list of parents children