X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6835592c5ce0c3c4bc3a0e1275b1a1592c023280..7a69cd967ad590541b83a6c52dca78b5b24f4037:/include/wx/os2/dc.h diff --git a/include/wx/os2/dc.h b/include/wx/os2/dc.h index 89377fd23c..fd832ef932 100644 --- a/include/wx/os2/dc.h +++ b/include/wx/os2/dc.h @@ -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()