]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/dcclient.cpp
Fix nonsensical checked menu item label and behaviour
[wxWidgets.git] / src / palmos / dcclient.cpp
index ae1340f40e3f613d8dea1ec9ea5168bdd570f981..e7a6817db9379dc25d5b499243620e93a92fcf46 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "dcclient.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"
 
@@ -42,14 +38,14 @@ struct WXDLLEXPORT wxPaintDCInfo
 {
     wxPaintDCInfo(wxWindow *win, wxDC *dc)
     {
 {
     wxPaintDCInfo(wxWindow *win, wxDC *dc)
     {
-        hwnd = win->GetHWND();
-        hdc = dc->GetHDC();
-        count = 1;
+        handle = win->GetWinHandle();
+        hdc    = dc->GetHDC();
+        count  = 1;
     }
 
     }
 
-    WXHWND    hwnd;       // window for this DC
-    WXHDC     hdc;        // the DC handle
-    size_t    count;      // usage count
+    WXWINHANDLE handle;       // window for this DC
+    WXHDC       hdc;        // the DC handle
+    size_t     count;      // usage count
 };
 
 #include "wx/arrimpl.cpp"
 };
 
 #include "wx/arrimpl.cpp"