/////////////////////////////////////////////////////////////////////////////
-// Name: mdi.cpp
+// Name: src/motif/mdi.cpp
// Purpose: MDI classes
// Author: Julian Smart
// Modified by:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "mdi.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#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);
}
}