]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/bmpcbox.h
adding wxArrayDouble for later use in graphics context APIs
[wxWidgets.git] / include / wx / generic / bmpcbox.h
index 263cfbe02c3aaf5aa4c56217cf136f9ed9253e34..e1c963d4f1c4ec8aa09b4cde20403d35651a32d9 100644 (file)
 
 #define wxGENERIC_BITMAPCOMBOBOX     1
 
-#if !wxUSE_ODCOMBOBOX
-    #error "Generic wxBitmapComboBox depends on wxOwnerDrawnComboBox"
-#endif
-
 #include "wx/odcombo.h"
 
-
 // ----------------------------------------------------------------------------
 // wxBitmapComboBox: a wxComboBox that allows images to be shown
 // in front of string items.
@@ -143,7 +138,7 @@ protected:
     virtual wxSize DoGetBestSize() const;
 
     // Event handlers
-    void OnResize(wxSizeEvent& event);
+    void OnSize(wxSizeEvent& event);
 
     // Recalculates amount of empty space needed in front of
     // text in control itself.
@@ -172,6 +167,4 @@ private:
     DECLARE_DYNAMIC_CLASS(wxBitmapComboBox)
 };
 
-
-#endif
-    // _WX_GENERIC_BMPCBOX_H_
+#endif // _WX_GENERIC_BMPCBOX_H_