]> git.saurik.com Git - wxWidgets.git/commitdiff
wxHeaderButtonParams needs complete classes.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 14 Sep 2006 16:02:48 +0000 (16:02 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 14 Sep 2006 16:02:48 +0000 (16:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/renderer.h

index ebda812285927982cc448434867bcf5bbf26024b..4fbcf21b1979b950a39005ff0cb2d0871d151001 100644 (file)
@@ -29,6 +29,10 @@ class WXDLLEXPORT wxDC;
 class WXDLLEXPORT wxWindow;
 
 #include "wx/gdicmn.h" // for wxPoint
+#include "wx/colour.h"
+#include "wx/font.h"
+#include "wx/bitmap.h"
+#include "wx/string.h"
 
 // some platforms have their own renderers, others use the generic one
 #if defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXGTK__)
@@ -95,7 +99,7 @@ struct WXDLLEXPORT wxHeaderButtonParams
     wxHeaderButtonParams()
         : m_labelAlignment(wxALIGN_LEFT)
     { }
-    
+
     wxColour    m_arrowColour;
     wxColour    m_selectionColour;
     wxString    m_labelText;
@@ -224,7 +228,7 @@ public:
     // draw rectangle indicating that an item in e.g. a list control
     // has been selected or focused
     //
-    // flags may use 
+    // flags may use
     // wxCONTROL_SELECTED (item is selected, e.g. draw background)
     // wxCONTROL_CURRENT (item is the current item, e.g. dotted border)
     // wxCONTROL_FOCUSED (the whole control has focus, e.g. blue background vs. grey otherwise)
@@ -303,7 +307,7 @@ public:
                                   wxHeaderButtonParams* params = NULL)
         { m_rendererNative.DrawHeaderButton(win, dc, rect, flags, params); }
 
-    
+
     virtual void DrawHeaderButtonContents(wxWindow *win,
                                           wxDC& dc,
                                           const wxRect& rect,
@@ -311,7 +315,7 @@ public:
                                           wxHeaderButtonParams* params = NULL)
         { m_rendererNative.DrawHeaderButtonContents(win, dc, rect, flags, params); }
 
-    
+
     virtual int GetHeaderButtonHeight(wxWindow *win)
         { return m_rendererNative.GetHeaderButtonHeight(win); }