+// Below, macro DROPBUT_USEDROPARROW should return false when
+// DrawComboBoxDropButton is to be used to render the entire button.
+// COMBOST is non-zero if wxBU_COMBO was set.
+
+#if defined(__WXMSW__)
+
+ #define DROPBUT_USEDROPARROW(COMBOST) (COMBOST?false:true)
+ #define DROPBUT_DEFAULT_WIDTH 17
+
+#elif defined(__WXGTK__)
+
+ #define DROPBUT_USEDROPARROW(COMBOST) true
+ #define DROPBUT_DEFAULT_WIDTH 19
+
+#else
+
+ #define DROPBUT_USEDROPARROW(COMBOST) true
+ #define DROPBUT_DEFAULT_WIDTH 17
+
+#endif
+
+
+IMPLEMENT_DYNAMIC_CLASS(wxDropdownButton, wxBitmapButton)
+
+
+BEGIN_EVENT_TABLE(wxDropdownButton,wxBitmapButton)
+ EVT_ENTER_WINDOW(wxDropdownButton::OnMouseEnter)
+ EVT_LEAVE_WINDOW(wxDropdownButton::OnMouseLeave)
+ EVT_SIZE(wxDropdownButton::OnSize)
+END_EVENT_TABLE()
+
+