X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab6b6b15e0790bf3fd9e5b58da7077ac5592d8d3..d8290dd058d812311af3f0347d56e1c08b3ecf19:/include/wx/x11/window.h diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index feace83629..ef09a5ff93 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -12,7 +12,7 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "window.h" #endif @@ -107,8 +107,8 @@ public: virtual WXWindow GetMainWindow() const; // Get X11 window representing the client area - virtual WXWindow GetClientWindow() const; - + virtual WXWindow GetClientAreaWindow() const; + void SetLastClick(int button, long timestamp) { m_lastButton = button; m_lastTS = timestamp; } @@ -155,9 +155,6 @@ public: // OnInternalIdle virtual void OnInternalIdle(); - // For compatibility across platforms (not in event table) - void OnIdle(wxIdleEvent& WXUNUSED(event)) {} - protected: // Responds to colour changes: passes event on to children. void OnSysColourChanged(wxSysColourChangedEvent& event);