]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dc.h
don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
[wxWidgets.git] / include / wx / msw / dc.h
index 9933e88db075b7604cf1b44c3e797ea9bf6df653..bd0fdb87af3d6f61102edf83b41b6416180b1868 100644 (file)
@@ -164,6 +164,7 @@ protected:
 
     void RealizeScaleAndOrigin();
 
+public:
     virtual void DoGetTextExtent(const wxString& string,
                                  wxCoord *x, wxCoord *y,
                                  wxCoord *descent = NULL,
@@ -260,6 +261,7 @@ protected:
     void InitializePalette();
 #endif // wxUSE_PALETTE
 
+protected:
     // common part of DoDrawText() and DoDrawRotatedText()
     void DrawAnyText(const wxString& text, wxCoord x, wxCoord y);
 
@@ -334,7 +336,6 @@ public:
         SetHDC((WXHDC)NULL);
     }
 
-protected:
     virtual void DoGetSize(int *w, int *h) const
     {
         wxASSERT_MSG( m_size.IsFullySpecified(),