- wxStaticBoxSizer now deletes the associated wxStaticBox when it is deleted.
- Windows calling CaptureMouse() are now required to handle
the wxEVT_MOUSE_CAPTURE_LOST event.
+- SetDefaultItem() method was moved from wxPanel to wxTopLevelWindow
Deprecated methods since 2.6.x and their replacements
normal under Windows and Motif, pressing return causes the default button to
be depressed when the return key is pressed. See also \helpref{wxWindow::SetFocus}{wxwindowsetfocus}\rtfsp
which sets the keyboard focus for windows and text panel items,\rtfsp
-and \helpref{wxPanel::SetDefaultItem}{wxpanelsetdefaultitem}.
+and \helpref{wxTopLevelWindow::SetDefaultItem}{wxtoplevelwindowsetdefaultitem}.
Note that under Motif, calling this function immediately after
creation of a button and before the creation of other buttons
Used for two-step panel construction. See \helpref{wxPanel::wxPanel}{wxpanelctor}\rtfsp
for details.
-\membersection{wxPanel::GetDefaultItem}\label{wxpanelgetdefaultitem}
-
-\constfunc{wxWindow*}{GetDefaultItem}{\void}
-
-Returns a pointer to the button which is the default for this window, or NULL.
-The default button is the one activated by pressing the Enter key.
-
\membersection{wxPanel::InitDialog}\label{wxpanelinitdialog}
\func{void}{InitDialog}{\void}
\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}
-\membersection{wxPanel::SetDefaultItem}\label{wxpanelsetdefaultitem}
-
-\func{void}{SetDefaultItem}{\param{wxButton }{*btn}}
-
-Changes the default button for the panel.
-
-\wxheading{See also}
-
-\helpref{GetDefaultItem}{wxpanelgetdefaultitem}
-
-
\membersection{wxPanel::SetFocus}\label{wxpanelsetfocus}
\func{virtual void}{SetFocus}{\void}
\helpref{wxTopLevelWindow::SetTransparent}{wxtoplevelwindowsettransparent}
+\membersection{wxTopLevelWindow::GetDefaultItem}\label{wxtoplevelwindowgetdefaultitem}
+
+\constfunc{wxWindow *}{GetDefaultItem}{\void}
+
+Returns a pointer to the button which is the default for this window, or \NULL.
+The default button is the one activated by pressing the Enter key.
+
+
\membersection{wxTopLevelWindow::GetIcon}\label{wxtoplevelwindowgeticon}
\constfunc{const wxIcon\&}{GetIcon}{\void}
window icon in the taskbar, and for wxGTK with task bars supporting it.
+\membersection{wxTopLevelWindow::SetDefaultItem}\label{wxtoplevelwindowsetdefaultitem}
+
+\func{void}{SetDefaultItem}{\param{wxWindow }{*win}}
+
+Changes the default item for the panel, usually \arg{win} is a button.
+
+\wxheading{See also}
+
+\helpref{GetDefaultItem}{wxtoplevelwindowgetdefaultitem}
+
+
\membersection{wxTopLevelWindow::SetIcon}\label{wxtoplevelwindowseticon}
\func{void}{SetIcon}{\param{const wxIcon\& }{icon}}