/////////////////////////////////////////////////////////////////////////////
-// Name: mdi.cpp
+// Name: src/motif/mdi.cpp
// Purpose: MDI classes
// Author: Julian Smart
// Modified by:
#endif
#include "wx/mdi.h"
-#include "wx/menu.h"
-#include "wx/settings.h"
-#include "wx/icon.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/menu.h"
+ #include "wx/icon.h"
+ #include "wx/settings.h"
+#endif
#ifdef __VMS__
#pragma message disable nosimpint
if (GetStatusBar())
{
if (event.GetMenuId() == -1)
- SetStatusText("");
+ SetStatusText(wxEmptyString);
else
{
wxMenuBar *menuBar = (wxMenuBar*) NULL;
if (menuBar)
{
wxString helpString(menuBar->GetHelpString(event.GetMenuId()));
- if (helpString != "")
+ if (!helpString.empty())
SetStatusText(helpString);
}
}