]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/prntbase.cpp
Don't use mnemonic for Cancel button under MSW.
[wxWidgets.git] / src / common / prntbase.cpp
index d4aa30278a2eaa568576c2f48088cf076f1cf1b1..8ab0c0d00278b5d25af04a7f3ec1315af602717c 100644 (file)
@@ -1271,7 +1271,7 @@ wxFrame(parent, wxID_ANY, title, pos, size, style, name)
 #ifdef __WXMSW__
     wxFrame* topFrame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame);
     if (topFrame)
-        SetIcon(topFrame->GetIcon());
+        SetIcons(topFrame->GetIcons());
 #endif
 }
 
@@ -1583,7 +1583,7 @@ bool wxPrintPreviewBase::RenderPage(int pageNum)
 
     if (!m_previewCanvas)
     {
-        wxFAIL_MSG(_T("wxPrintPreviewBase::RenderPage: must use wxPrintPreviewBase::SetCanvas to let me know about the canvas!"));
+        wxFAIL_MSG(wxT("wxPrintPreviewBase::RenderPage: must use wxPrintPreviewBase::SetCanvas to let me know about the canvas!"));
         return false;
     }