]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/control.cpp
Distrib things,
[wxWidgets.git] / src / motif / control.cpp
index 423c53e5804742cba120ccd3c55956570f3a8ee9..94f43a746bb0e7f74f4752b2594de2636a54f243 100644 (file)
@@ -43,6 +43,30 @@ wxControl::wxControl()
     m_inSetValue = FALSE;
 }
 
+wxControl::wxControl( wxWindow *parent,
+                      wxWindowID id,
+                      const wxPoint &pos,
+                      const wxSize &size,
+                      long style,
+                      const wxString &name )
+{
+    (void)Create(parent, id, pos, size, style, name);
+}
+
+#if wxUSE_VALIDATORS
+wxControl::wxControl( wxWindow *parent,
+                      wxWindowID id,
+                      const wxPoint &pos,
+                      const wxSize &size,
+                      long style,
+                      const wxValidator& validator,
+                      const wxString &name)
+{
+    (void)Create(parent, id, pos, size, style, name);
+    SetValidator(validator);
+}
+#endif
+
 wxControl::~wxControl()
 {
     // If we delete an item, we should initialize the parent panel,