X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e014a0c44e36efe429bea1303f4309af287eb77..b4a2ab728bf4627ab2b41385b69e31f10c1fd3b1:/src/gtk/dialog.cpp diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 4869b9263f..275b1eb4e9 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -288,7 +288,7 @@ bool wxDialog::Create( wxWindow *parent, if (!PreCreation( parent, pos, size ) || !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name )) { - wxFAIL_MSG( _T("wxDialog creation failed") ); + wxFAIL_MSG( T("wxDialog creation failed") ); return FALSE; } @@ -356,7 +356,7 @@ wxDialog::~wxDialog() void wxDialog::SetTitle( const wxString& title ) { m_title = title; - if (m_title.IsNull()) m_title = _T(""); + if (m_title.IsNull()) m_title = T(""); gtk_window_set_title( GTK_WINDOW(m_widget), m_title.mbc_str() ); } @@ -442,7 +442,7 @@ bool wxDialog::Destroy() void wxDialog::OnSize( wxSizeEvent &WXUNUSED(event) ) { - wxASSERT_MSG( (m_widget != NULL), _T("invalid dialog") ); + wxASSERT_MSG( (m_widget != NULL), T("invalid dialog") ); #if wxUSE_CONSTRAINTS if (GetAutoLayout()) @@ -477,8 +477,8 @@ void wxDialog::OnSize( wxSizeEvent &WXUNUSED(event) ) void wxDialog::DoSetSize( int x, int y, int width, int height, int sizeFlags ) { - wxASSERT_MSG( (m_widget != NULL), _T("invalid dialog") ); - wxASSERT_MSG( (m_wxwindow != NULL), _T("invalid dialog") ); + wxASSERT_MSG( (m_widget != NULL), T("invalid dialog") ); + wxASSERT_MSG( (m_wxwindow != NULL), T("invalid dialog") ); if (m_resizing) return; /* I don't like recursions */ m_resizing = TRUE; @@ -567,7 +567,7 @@ void wxDialog::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int heigh void wxDialog::Centre( int direction ) { - wxASSERT_MSG( (m_widget != NULL), _T("invalid dialog") ); + wxASSERT_MSG( (m_widget != NULL), T("invalid dialog") ); int x = 0; int y = 0; @@ -623,14 +623,14 @@ void wxDialog::SetModal( bool WXUNUSED(flag) ) else if (m_windowStyle & wxDIALOG_MODAL) m_windowStyle -= wxDIALOG_MODAL; */ - wxFAIL_MSG( _T("wxDialog:SetModal obsolete now") ); + wxFAIL_MSG( T("wxDialog:SetModal obsolete now") ); } int wxDialog::ShowModal() { if (IsModal()) { - wxFAIL_MSG( _T("wxDialog:ShowModal called twice") ); + wxFAIL_MSG( T("wxDialog:ShowModal called twice") ); return GetReturnCode(); } @@ -653,7 +653,7 @@ void wxDialog::EndModal( int retCode ) if (!IsModal()) { - wxFAIL_MSG( _T("wxDialog:EndModal called twice") ); + wxFAIL_MSG( T("wxDialog:EndModal called twice") ); return; }