]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/window.h
Made MSW wxSpinCtrl emit UPDATE event when validating
[wxWidgets.git] / include / wx / dfb / window.h
index e30d2ae436db5ca7e2d2ccf43324ba21eafd909b..582fc3cf5c006953eb541c77935d2e7a1acb42db 100644 (file)
@@ -75,7 +75,7 @@ public:
     virtual void Clear();
     virtual void Freeze();
     virtual void Thaw();
-    bool IsFrozen() const { return m_frozenness > 0; }
+    virtual bool IsFrozen() const { return m_frozenness > 0; }
 
     virtual bool SetCursor(const wxCursor &cursor);
     virtual bool SetFont(const wxFont &font) { m_font = font; return true; }
@@ -140,11 +140,12 @@ protected:
     void InvalidateDfbSurface();
 
     // called by parent to render (part of) the window
-    void PaintWindow(const wxRect& rect, bool eraseBackground);
+    void PaintWindow(const wxRect& rect);
 
-    // implementation of Refresh()
-    void DoRefreshWindow(bool eraseBack = true);
-    virtual void DoRefreshRect(const wxRect& rect, bool eraseBack = true);
+    // refreshes the entire window (including non-client areas)
+    void DoRefreshWindow();
+    // refreshes given rectangle of the window (in window, _not_ client coords)
+    virtual void DoRefreshRect(const wxRect& rect);
 
     // DirectFB events handling
     void HandleKeyEvent(const wxDFBWindowEvent& event_);
@@ -177,5 +178,4 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
-
 #endif // _WX_DFB_WINDOW_H_