]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/statbrpalm.cpp
don't translate Win32 structured exceptions into C++ ones (requires always using...
[wxWidgets.git] / src / palmos / statbrpalm.cpp
index ba68ff9a26ea2242db566baaebac71f76c864e92..567076d39ced9a72df17fa1d6b634fdfab1ca571 100644 (file)
@@ -63,11 +63,10 @@ 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);