]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
implement out-of-line destructors where needed instead of using __DARWIN__
[wxWidgets.git] / src / common / ctrlcmn.cpp
index 97ea795e5756707e35a3a98c441af472579bbd79..a61beaa16c07f5fe1a1d4251f9b76ce34040b794 100644 (file)
 // implementation
 // ============================================================================
 
+wxControlBase::~wxControlBase()
+{
+    // this destructor is required for Darwin
+}
+
 bool wxControlBase::Create(wxWindow *parent,
                            wxWindowID id,
                            const wxPoint &pos,
@@ -125,6 +130,11 @@ void wxControlBase::InitCommandEvent(wxCommandEvent& event) const
 
 #if wxUSE_STATBMP
 
+wxStaticBitmapBase::~wxStaticBitmapBase()
+{
+    // this destructor is required for Darwin
+}
+
 wxSize wxStaticBitmapBase::DoGetBestClientSize() const
 {
     wxBitmap bmp = GetBitmap();