1. minor fixes in wxDynLib
2. added more symbols to winundef.h 3. fixed wxTextFile::IsOpen() - now it does what you'd suppose 4. listctrl now updates the item image when it changes 5. file dlg checks for an error and gives a message about it (debug only) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -341,9 +341,23 @@ int wxFileDialog::ShowModal(void)
|
||||
}
|
||||
}
|
||||
|
||||
} // END: if ( success )
|
||||
}
|
||||
else
|
||||
{
|
||||
// common dialog failed - why?
|
||||
#ifdef __WXDEBUG__
|
||||
DWORD dwErr = CommDlgExtendedError();
|
||||
if ( dwErr != 0 )
|
||||
{
|
||||
// this msg is only for developers
|
||||
wxLogError(_T("Common dialog failed with error code %0lx."),
|
||||
dwErr);
|
||||
}
|
||||
//else: it was just cancelled
|
||||
#endif
|
||||
}
|
||||
|
||||
return (success ? wxID_OK : wxID_CANCEL) ;
|
||||
return success ? wxID_OK : wxID_CANCEL;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user