]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/statbrpalm.cpp
disallow creation of wxDC objects and made wxDC an ABC; use wxDCTemp instead of wxDC...
[wxWidgets.git] / src / palmos / statbrpalm.cpp
index 567076d39ced9a72df17fa1d6b634fdfab1ca571..d1571c7d8d4d12a420a2d9161cde7ff6061b8661 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // 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"
 
 // for compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -33,6 +29,8 @@
 #include "wx/log.h"
 #include "wx/statusbr.h"
 
 #include "wx/log.h"
 #include "wx/statusbr.h"
 
+#include <StatusBar.h>
+
 // ----------------------------------------------------------------------------
 // macros
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // macros
 // ----------------------------------------------------------------------------
@@ -48,8 +46,6 @@
 wxStatusBarPalm::wxStatusBarPalm()
 {
     SetParent(NULL);
 wxStatusBarPalm::wxStatusBarPalm()
 {
     SetParent(NULL);
-    m_hWnd = 0;
-    m_windowId = 0;
 }
 
 bool wxStatusBarPalm::Create(wxWindow *parent,
 }
 
 bool wxStatusBarPalm::Create(wxWindow *parent,
@@ -68,7 +64,6 @@ bool wxStatusBarPalm::Create(wxWindow *parent,
     parent->AddChild(this);
 
     SetFieldsCount(1);
     parent->AddChild(this);
 
     SetFieldsCount(1);
-    SubclassWin(m_hWnd);
 
     return true;
 }
 
     return true;
 }