]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/control.h
Don't uninstall common files if there is more than one wxPython installed
[wxWidgets.git] / include / wx / univ / control.h
index 2a903039ac0c3ea47d0a4c021c002cff9186554c..710e6307fdecf3965428bd30f2b6a08c57412473 100644 (file)
@@ -45,14 +45,19 @@ typedef wxString wxControlAction;
 class WXDLLEXPORT wxControl : public wxControlBase, public wxInputConsumer
 {
 public:
-    wxControl();
+    wxControl() { Init(); }
 
     wxControl(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
               const wxSize& size = wxDefaultSize, long style = 0,
               const wxValidator& validator = wxDefaultValidator,
-              const wxString& name = wxControlNameStr);
+              const wxString& name = wxControlNameStr)
+    {
+        Init();
+
+        Create(parent, id, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,