]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/window.cpp
Lock whole screen when popup is open under GTK+.
[wxWidgets.git] / src / palmos / window.cpp
index d908c9662942c068278f10cbe18d5073f9852840..5eba9aed6a763f4af0909333d1770177b524d6d2 100644 (file)
@@ -269,7 +269,16 @@ bool wxWindowPalm::Create(wxWindow *parent,
                          long style,
                          const wxString& name)
 {
-    return false;
+    wxCHECK_MSG( parent, false, wxT("can't create wxWindow without parent") );
+
+    if ( !CreateBase(parent, id, pos, size, style, wxDefaultValidator, name) )
+        return false;
+
+    parent->AddChild(this);
+
+    InheritAttributes();
+
+    return true;
 }
 
 FormType *wxWindowPalm::GetFormPtr()