X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36a845fe5b6933de913a155ccb2512684b9f2379..99d82720737ebf91d3a387d53dd0cf6c8cf9a643:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index fffe0778da..075a40cb7b 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -84,8 +84,8 @@ public: virtual int GetCharWidth() const; virtual void GetTextExtent(const wxString& string, int *x, int *y, - int *descent = (int *) NULL, - int *externalLeading = (int *) NULL, + int *descent = NULL, + int *externalLeading = NULL, const wxFont *theFont = (const wxFont *) NULL) const; @@ -96,7 +96,7 @@ public: virtual int GetScrollThumb( int orient ) const; virtual int GetScrollRange( int orient ) const; virtual void ScrollWindow( int dx, int dy, - const wxRect* rect = (wxRect *) NULL ); + const wxRect* rect = NULL ); virtual bool ScrollLines(int lines); virtual bool ScrollPages(int pages); @@ -166,7 +166,7 @@ public: // override this if some events should never be consumed by wxWidgets but // but have to be left for the native control // - // base version just does GetEventHandler()->ProcessEvent() + // base version just calls HandleWindowEvent() virtual bool GTKProcessEvent(wxEvent& event) const; // Map GTK widget direction of the given widget to/from wxLayoutDirection @@ -178,7 +178,7 @@ public: // there is also the exception of wxMenuBar) virtual bool GTKNeedsParent() const { return !IsTopLevel(); } - // This is called when capture is taken from the window. It will + // This is called when capture is taken from the window. It will // fire off capture lost events. void GTKReleaseMouseAndNotify(); @@ -256,7 +256,7 @@ public: // this widget will be queried for GTK's focus events GtkWidget *m_focusWidget; - + void GTKDisableFocusOutEvent(); void GTKEnableFocusOutEvent();