1. some patches from Janos Vegh to docview template detection
2. fixed reentrancy bug in wxGetTranslation/wxLogError resulting in infinite number of messageboxes 3. wxMenuItem::GetLabelFromText("&Foo") now returns "Foo", not "&Foo" in GTK as well 4. test for update region being NULL in wxPaintDC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -806,7 +806,10 @@ void wxDocManager::OnFileNew(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void wxDocManager::OnFileOpen(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
CreateDocument(wxString(""), 0);
|
||||
if ( !CreateDocument(wxString(""), 0) )
|
||||
{
|
||||
OnOpenFileFailure();
|
||||
}
|
||||
}
|
||||
|
||||
void wxDocManager::OnFileRevert(wxCommandEvent& WXUNUSED(event))
|
||||
|
Reference in New Issue
Block a user