X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba88951339bb5ae38d11394b25041b7e019b6883..25c702609db6a749ffd5f3e659ec348e4aa3a3c8:/src/palmos/statbrpalm.cpp diff --git a/src/palmos/statbrpalm.cpp b/src/palmos/statbrpalm.cpp index 567076d39c..679433f1b9 100644 --- a/src/palmos/statbrpalm.cpp +++ b/src/palmos/statbrpalm.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "statusbr.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -20,19 +16,20 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/setup.h" - #include "wx/frame.h" - #include "wx/settings.h" - #include "wx/dcclient.h" -#endif - #if wxUSE_NATIVE_STATUSBAR -#include "wx/intl.h" -#include "wx/log.h" #include "wx/statusbr.h" +#ifndef WX_PRECOMP + #include "wx/frame.h" + #include "wx/settings.h" + #include "wx/dcclient.h" + #include "wx/intl.h" + #include "wx/log.h" +#endif + +#include + // ---------------------------------------------------------------------------- // macros // ---------------------------------------------------------------------------- @@ -48,8 +45,6 @@ wxStatusBarPalm::wxStatusBarPalm() { SetParent(NULL); - m_hWnd = 0; - m_windowId = 0; } bool wxStatusBarPalm::Create(wxWindow *parent, @@ -68,7 +63,6 @@ bool wxStatusBarPalm::Create(wxWindow *parent, parent->AddChild(this); SetFieldsCount(1); - SubclassWin(m_hWnd); return true; } @@ -274,4 +268,3 @@ void wxStatusBarPalm::DoMoveWindow(int x, int y, int width, int height) } #endif // wxUSE_NATIVE_STATUSBAR -