X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba696cfadf12070a14c542479111f5d326167d88..761e1e0702fb50aca31fb7a38dcb0f00ae4d2ac6:/include/wx/x11/window.h diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index 5e747f150d..e7ef074f99 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,6 +148,10 @@ public: // For compatibility across platforms (not in event table) void OnIdle(wxIdleEvent& WXUNUSED(event)) {} + // Go up to a toplevel window and query which window has the focus. + // May return NULL. + wxWindow *GetFocusWidget(); + protected: // Makes an adjustment to the window position (for example, a frame that has // a toolbar that it manages itself).