]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/combo.h
allow passing temporary functors to Bind() too (closes #10653)
[wxWidgets.git] / include / wx / msw / combo.h
index cc9b35d53e5ac1c889de0554f2c3457b0129442f..78ef4f59eff6659312a2213c9e99865c11b89507 100644 (file)
@@ -73,10 +73,13 @@ public:
     static int GetFeatures() { return wxComboCtrlFeatures::All; }
 
 #if wxUSE_COMBOCTRL_POPUP_ANIMATION
-    void OnTimerEvent( wxTimerEvent& event );
+    void OnTimerEvent(wxTimerEvent& WXUNUSED(event)) { DoTimerEvent(); }
+
 protected:
+    void DoTimerEvent();
+
     virtual bool AnimateShow( const wxRect& rect, int flags );
-#endif
+#endif // wxUSE_COMBOCTRL_POPUP_ANIMATION
 
 protected: