X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4438caf41af49f00f3c8137ac801871f59cce386..c0fba4d1bed63c7b09b76c2d25fc4e76974d51ce:/include/wx/msw/stattext.h

diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h
index f21a4bd3b0..fd0f63d801 100644
--- a/include/wx/msw/stattext.h
+++ b/include/wx/msw/stattext.h
@@ -51,12 +51,10 @@ public:
     virtual bool AcceptsFocus() const { return FALSE; }
 
     // callbacks
-    virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
-                                WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
     virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
 
 protected:
-    virtual wxSize DoGetBestSize();
+    virtual wxSize DoGetBestSize() const;
 };
 
 #endif