]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/window.h
Better disabling of toolbars and menubars
[wxWidgets.git] / include / wx / gtk / window.h
index d3951cf46449259d7c148feff4be63c3eca5b96a..d26c7214ccc029115e85b8deb7d168c3b1574966 100644 (file)
 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;