diff --git a/include/wx/os2/dc.h b/include/wx/os2/dc.h index c3d383cd2a..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; }