minor fixes for custom controls support in wxFileDialog: slightly improve documentation, make variable names more clear and add more WinCE checks (closes #10416)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-24 14:04:25 +00:00
parent 9800347d77
commit d6dae1b443
5 changed files with 22 additions and 9 deletions

View File

@@ -86,6 +86,7 @@ wxFileDialogHookFunction(HWND hDlg,
{
switch ( iMsg )
{
#ifndef __WXWINCE__
case WM_INITDIALOG:
{
OPENFILENAME* ofn = reinterpret_cast<OPENFILENAME *>(lParam);
@@ -93,6 +94,7 @@ wxFileDialogHookFunction(HWND hDlg,
->MSWOnInitDialogHook((WXHWND)hDlg);
}
break;
#endif // __WXWINCE__
case WM_NOTIFY:
{
@@ -368,6 +370,7 @@ static bool ShowCommFileDialog(OPENFILENAME *of, long style)
return true;
}
#ifndef __WXWINCE__
void wxFileDialog::MSWOnInitDialogHook(WXHWND hwnd)
{
SetHWND(hwnd);
@@ -376,6 +379,7 @@ void wxFileDialog::MSWOnInitDialogHook(WXHWND hwnd)
SetHWND(NULL);
}
#endif // __WXWINCE__
int wxFileDialog::ShowModal()
{