no significant changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,21 +72,25 @@ extern const wxChar *wxCanvasClassName;
|
|||||||
// wxTopLevelWindowMSW implementation
|
// wxTopLevelWindowMSW implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// wxDialog helpers
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Dialog window proc
|
// Dialog window proc
|
||||||
LONG APIENTRY _EXPORT
|
LONG APIENTRY _EXPORT
|
||||||
wxDlgProc(HWND WXUNUSED(hWnd), UINT message, WPARAM WXUNUSED(wParam), LPARAM WXUNUSED(lParam))
|
wxDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
if ( message == WM_INITDIALOG )
|
switch ( message )
|
||||||
{
|
{
|
||||||
// for this message, returning TRUE tells system to set focus to the
|
case WM_INITDIALOG:
|
||||||
// first control in the dialog box
|
// for this message, returning TRUE tells system to set focus to the
|
||||||
return TRUE;
|
// first control in the dialog box
|
||||||
}
|
return TRUE;
|
||||||
else
|
|
||||||
{
|
default:
|
||||||
// for all the other ones, FALSE means that we didn't process the
|
// for all the other ones, FALSE means that we didn't process the
|
||||||
// message
|
// message
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user