X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db101bd35296e100d490d3c033c0fdee32747e85..008881c3f0ccbbc6d2b73fd9151c85ea243f88b1:/src/palmos/statbrpalm.cpp diff --git a/src/palmos/statbrpalm.cpp b/src/palmos/statbrpalm.cpp index ba68ff9a26..f662696fdf 100644 --- a/src/palmos/statbrpalm.cpp +++ b/src/palmos/statbrpalm.cpp @@ -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; }