X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61f09f569358d7b2752733c4a24d1bd10daefae2..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/gtk1/mdi.cpp?ds=inline diff --git a/src/gtk1/mdi.cpp b/src/gtk1/mdi.cpp index e2cb0b3765..d8c711c8a5 100644 --- a/src/gtk1/mdi.cpp +++ b/src/gtk1/mdi.cpp @@ -429,7 +429,7 @@ static void gtk_page_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation* static void wxInsertChildInMDI( wxMDIClientWindow* parent, wxMDIChildFrame* child ) { wxString s = child->GetTitle(); - if (s.IsNull()) s = _("MDI child"); + if ( s.empty() ) s = _("MDI child"); GtkWidget *label_widget = gtk_label_new( s.mbc_str() ); gtk_misc_set_alignment( GTK_MISC(label_widget), 0.0, 0.5 );