]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/renderer.cpp
Disable deprecation and other warnings in MFC sample.
[wxWidgets.git] / src / msw / renderer.cpp
index 4c748fd526a5e2404d534e04240063fbb3049b27..9d1e4d79e448f402e778b014627c1b5481ba0447 100644 (file)
@@ -197,6 +197,8 @@ public:
 
     virtual int GetHeaderButtonHeight(wxWindow *win);
 
+    virtual int GetHeaderButtonMargin(wxWindow *win);
+
 private:
     // wrapper of DrawFrameControl()
     void DoDrawFrameControl(UINT type,
@@ -517,6 +519,11 @@ int wxRendererMSW::GetHeaderButtonHeight(wxWindow * WXUNUSED(win))
     return Header_Layout(hwndHeader, &hdl) ? wp.cy : DEFAULT_HEIGHT;
 }
 
+int wxRendererMSW::GetHeaderButtonMargin(wxWindow *WXUNUSED(win))
+{
+    return 10;
+}
+
 // Uses the theme to draw the border and fill for something like a wxTextCtrl
 void wxRendererMSW::DrawTextCtrl(wxWindow* win, wxDC& dc, const wxRect& rect, int flags)
 {