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