]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/statbrpalm.cpp
added XRC handler for wxStdDialogButtonSizer
[wxWidgets.git] / src / palmos / statbrpalm.cpp
index ba68ff9a26ea2242db566baaebac71f76c864e92..f662696fdf5f2481664baf319dd88553fd9c7329 100644 (file)
@@ -48,8 +48,6 @@
 wxStatusBarPalm::wxStatusBarPalm()
 {
     SetParent(NULL);
-    m_hWnd = 0;
-    m_windowId = 0;
 }
 
 bool wxStatusBarPalm::Create(wxWindow *parent,
@@ -63,13 +61,11 @@ bool wxStatusBarPalm::Create(wxWindow *parent,
 
     SetName(name);
     SetParent(parent);
+    SetId( id == wxID_ANY ? NewControlId() : id );
 
     parent->AddChild(this);
 
-    m_windowId = id == wxID_ANY ? NewControlId() : id;
-
     SetFieldsCount(1);
-    SubclassWin(m_hWnd);
 
     return true;
 }