]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/dc.h
Get(Class)DefaultAttributes() for wxGTK controls
[wxWidgets.git] / include / wx / os2 / dc.h
index 89377fd23c7c44c3257e10ecd85a8cc7f22e37b0..fd832ef9324798925c66d590b37bae40cdcf6c59 100644 (file)
@@ -179,7 +179,6 @@ public:
     HPS             GetHPS(void) const { return m_hPS; }
     void            SetHPS(HPS hPS)
     {
-        HDC                         hDC = ::GpiQueryDevice(hPS);
         m_hPS = hPS;
     }
     const wxBitmap& GetSelectedBitmap(void) const { return m_vSelectedBitmap; }
@@ -202,7 +201,7 @@ public:
 #endif
 
 protected:
-    virtual void DoFloodFill( wxCoord         vX
+    virtual bool DoFloodFill( wxCoord         vX
                              ,wxCoord         vY
                              ,const wxColour& rCol
                              ,int             nStyle = wxFLOOD_SURFACE
@@ -333,6 +332,10 @@ protected:
                                ,int     nFillStyle = wxODDEVEN_RULE
                               );
 
+#if wxUSE_PALETTE
+    void DoSelectPalette(bool bRealize = FALSE);
+    void InitializePalette(void);
+#endif // wxUSE_PALETTE
 
     //
     // common part of DoDrawText() and DoDrawRotatedText()