]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/bmpbuttn.h
distinguish between main keyboard and numeric enter keys (fixes 902095)
[wxWidgets.git] / include / wx / univ / bmpbuttn.h
index 4199b5038f6db6a7b9aad331e66371e9ec6cc2ec..34c09b3e3e35fa328227dd860067f6f587615e04 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
 {
 public:
-    wxBitmapButton();
+    wxBitmapButton() { }
 
     wxBitmapButton(wxWindow *parent,
                    wxWindowID id,
@@ -28,7 +28,10 @@ public:
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
                    const wxValidator& validator = wxDefaultValidator,
-                   const wxString& name = wxButtonNameStr);
+                   const wxString& name = wxButtonNameStr)
+    {
+        Create(parent, id, bitmap, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,