// headers
// ---------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "mdig.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#endif //WX_PRECOMP
#include "wx/generic/mdig.h"
+#include "wx/stockitem.h"
enum MDI_MENU_ID
{
{
if (pMenuBar && m_pWindowMenu)
{
- int pos = pMenuBar->FindMenu(_("Help"));
+ int pos = pMenuBar->FindMenu(wxGetStockLabel(wxID_HELP,false));
if (pos == wxNOT_FOUND)
{
pMenuBar->Append(m_pWindowMenu, _("&Window"));
{
#if 1 // What's best? Delayed deleting or immediate deleting?
delete m_pActiveChild;
+ m_pActiveChild = NULL;
#else
ActivateNext();
{
SetWindowStyleFlag(style);
- bool success = wxNotebook::Create(parent, wxID_NOTEBOOK_CLIENT_AREA, wxPoint(0, 0), wxSize(100, 100), 0);
+ bool success = wxNotebook::Create(parent, wxID_NOTEBOOK_CLIENT_AREA, wxPoint(0,0), wxSize(100, 100), 0);
if (success)
{
/*