X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac57418f39e9671c18b99942180563146625d3ae..2b1c162e227574deaa255bd66f6c14d10be870f2:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index d3951cf464..d26c7214cc 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -32,6 +32,12 @@ extern const char *wxFrameNameStr; extern wxList wxTopLevelWindows; +//----------------------------------------------------------------------------- +// global function +//----------------------------------------------------------------------------- + +wxWindow* wxGetActiveWindow(); + //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- @@ -42,11 +48,11 @@ class wxDC; class wxClientData; class wxVoidClientData; class wxWindow; -#ifdef wxUSE_WX_RESOURCES +#if wxUSE_WX_RESOURCES class wxResourceTable; class wxItemResource; #endif -#ifdef wxUSE_DRAG_AND_DROP +#if wxUSE_DRAG_AND_DROP class wxDropTarget; #endif @@ -290,7 +296,7 @@ public: virtual bool PopupMenu( wxMenu *menu, int x, int y ); -#ifdef wxUSE_DRAG_AND_DROP +#if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ); virtual wxDropTarget *GetDropTarget() const; #endif @@ -335,7 +341,7 @@ public: int m_retCode; wxEvtHandler *m_eventHandler; wxValidator *m_windowValidator; -#ifdef wxUSE_DRAG_AND_DROP +#if wxUSE_DRAG_AND_DROP wxDropTarget *m_dropTarget; #endif wxWindowID m_windowId;