X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db101bd35296e100d490d3c033c0fdee32747e85..c6dcd973a599f50679ae3895a2745aee1b042b2d:/src/palmos/statbrpalm.cpp diff --git a/src/palmos/statbrpalm.cpp b/src/palmos/statbrpalm.cpp index ba68ff9a26..c1b71e42c1 100644 --- a/src/palmos/statbrpalm.cpp +++ b/src/palmos/statbrpalm.cpp @@ -33,6 +33,8 @@ #include "wx/log.h" #include "wx/statusbr.h" +#include + // ---------------------------------------------------------------------------- // macros // ---------------------------------------------------------------------------- @@ -48,8 +50,6 @@ wxStatusBarPalm::wxStatusBarPalm() { SetParent(NULL); - m_hWnd = 0; - m_windowId = 0; } bool wxStatusBarPalm::Create(wxWindow *parent, @@ -63,13 +63,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; }