]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
some fixes after global _T() => T() change
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 1be26bfcd70d7ba8fae5c494070bdbe420882fb7..cb14533ce2da41dccca1977dba14c3ab785e4998 100644 (file)
@@ -49,7 +49,7 @@ extern wxList wxPendingDelete;
 
 static void gtk_mdi_page_change_callback(GtkNotebook *WXUNUSED(widget),
                                               GtkNotebookPage *WXUNUSED(page),
-                                              gint page,
+                                              gint WXUNUSED(page),
                                               wxMDIParentFrame *parent )
 {
     if (g_isIdle) 
@@ -319,7 +319,7 @@ void wxMDIChildFrame::AddChild( wxWindowBase *child )
 
 void wxMDIChildFrame::SetMenuBar( wxMenuBar *menu_bar )
 {
-    wxASSERT_MSG( m_menuBar == NULL, _T("Only one menubar allowed") );
+    wxASSERT_MSG( m_menuBar == NULL, T("Only one menubar allowed") );
 
     m_menuBar = menu_bar;
 
@@ -431,9 +431,9 @@ bool wxMDIClientWindow::CreateClient( wxMDIParentFrame *parent, long style )
     m_insertCallback = (wxInsertChildFunction)wxInsertChildInMDI;
 
     if (!PreCreation( parent, wxDefaultPosition, wxDefaultSize ) ||
-        !CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, _T("wxMDIClientWindow") ))
+        !CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, T("wxMDIClientWindow") ))
     {
-        wxFAIL_MSG( _T("wxMDIClientWindow creation failed") );
+        wxFAIL_MSG( T("wxMDIClientWindow creation failed") );
        return FALSE;
     }