]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/renderer.h
Fix for missing -g from wx-config
[wxWidgets.git] / include / wx / univ / renderer.h
index e71426e6eedd9b32b117fc3717dbc5e845b62a27..cfcdccf9c8b6b80627ac7e3eb8a2228d3186a62d 100644 (file)
@@ -251,7 +251,8 @@ public:
                                    const wxString& title,
                                    const wxIcon& icon,
                                    int flags,
-                                   int pressedButtons = 0) = 0;
+                                   int specialButton = 0,
+                                   int specialButtonFlags = 0) = 0;
                                    
     // draw frame borders
     virtual void DrawFrameBorder(wxDC& dc,
@@ -392,6 +393,10 @@ public:
     virtual wxSize GetFrameTotalSize(const wxSize& clientSize, int flags) const = 0;
     // get titlebar icon size
     virtual wxSize GetFrameIconSize() const = 0;
+    // returns one of wxHT_TOPLEVEL_XXX constants
+    virtual int HitTestFrame(const wxRect& rect,
+                             const wxPoint& pt,
+                             int flags) const = 0;
 
     // virtual dtor for any base class
     virtual ~wxRenderer();
@@ -622,8 +627,10 @@ public:
                                    const wxString& title,
                                    const wxIcon& icon,
                                    int flags,
-                                   int pressedButtons = 0)
-        { m_renderer->DrawFrameTitleBar(dc, rect, title, icon, flags, pressedButtons); }
+                                   int specialButton = 0,
+                                   int specialButtonFlag = 0)
+        { m_renderer->DrawFrameTitleBar(dc, rect, title, icon, flags, 
+                                        specialButton, specialButtonFlag); }
     virtual void DrawFrameBorder(wxDC& dc,
                                  const wxRect& rect,
                                  int flags)
@@ -723,6 +730,10 @@ public:
         { return m_renderer->GetFrameTotalSize(clientSize, flags); }
     virtual wxSize GetFrameIconSize() const
         { return m_renderer->GetFrameIconSize(); }
+    virtual int HitTestFrame(const wxRect& rect,
+                             const wxPoint& pt,
+                             int flags) const
+        { return m_renderer->HitTestFrame(rect, pt, flags); }
 
 protected:
     wxRenderer *m_renderer;