X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba696cfadf12070a14c542479111f5d326167d88..34c3ffca5b9a22a972ae0296c8713f8ff1956566:/include/wx/x11/window.h diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index 5e747f150d..90863adfca 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -120,8 +120,11 @@ public: // arrange status bar, toolbar etc. virtual bool PreResize(); - // Generates paint events - void X11SendPaintEvents(); + // Generates paint events from m_updateRegion + void SendPaintEvents(); + + // Generates erase events from m_clearRegion + void SendEraseEvents(); // Clip to paint region? bool GetClipPaintRegion() { return m_clipPaintRegion; } @@ -145,11 +148,11 @@ public: // For compatibility across platforms (not in event table) void OnIdle(wxIdleEvent& WXUNUSED(event)) {} -protected: - // Makes an adjustment to the window position (for example, a frame that has - // a toolbar that it manages itself). - virtual void AdjustForParentClientOrigin(int& x, int& y, int sizeFlags); + // Go up to a toplevel window and query which window has the focus. + // May return NULL. + wxWindow *GetFocusWidget(); +protected: // Responds to colour changes: passes event on to children. void OnSysColourChanged(wxSysColourChangedEvent& event);