]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/toplevel.h
Take void** client data in wxSingleChoiceDialog ctor and not char**.
[wxWidgets.git] / include / wx / msw / toplevel.h
index e0a7453b680348c6b2913295f702d93ca9b6fe69..fdc62eba5e193f27ddd26577a464bf8241fa47a9 100644 (file)
@@ -181,7 +181,16 @@ protected:
     bool                  m_fsIsMaximized;
     bool                  m_fsIsShowing;
 
-    // the last focused child: we restore focus to it on activation
+    // Save the current focus to m_winLastFocused if we're not iconized (the
+    // focus is always NULL when we're iconized).
+    void DoSaveLastFocus();
+
+    // Restore focus to m_winLastFocused if possible and needed.
+    void DoRestoreLastFocus();
+
+    // The last focused child: we remember it when we're deactivated and
+    // restore focus to it when we're activated (this is done here) or restored
+    // from iconic state (done by wxFrame).
     wxWindow             *m_winLastFocused;
 
 #if defined(__SMARTPHONE__) && defined(__WXWINCE__)