// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+ #pragma implementation "app.h"
+#endif
+
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#include "wx/icon.h"
#include "wx/msgdlg.h"
#include "wx/module.h"
+#if wxUSE_STATUSBAR
+ #include "wx/statusbr.h"
+#endif
#endif
#include "wx/dcprint.h"
wxThePenList->AddPen(this);
} // end of wxPen::wxPen
+int wx2os2PenStyle(
+ int nWxStyle
+);
+
bool wxPen::RealizeResource()
{
BOOL bOk;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+ #pragma implementation "timer.h"
+#endif
+
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
wxTimer::~wxTimer()
{
- Stop();
wxTimer::Stop();
+
wxTimerList.DeleteObject(this);
}
wxNode* pNode = wxTimerList.Find((ULONG)nIdTimer);
wxCHECK_MSG(pNode, 0, wxT("bogus timer id in wxTimerProc") );
-
- wxProcessTimer(*(wxTimer *)pNode->Data());
+ if (pNode)
+ wxProcessTimer(*(wxTimer *)pNode->Data());
return 0;
}
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/window.h"
+ #include "wx/frame.h"
+ #include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#endif
#include "wx/intl.h"
#include "wx/frame.h"
#include "wx/control.h"
+ #include "wx/containr.h" // wxSetFocusToChild()
#endif //WX_PRECOMP
#include "wx/os2/private.h"
#include "wx/scrolwin.h"
#include "wx/radiobox.h"
#include "wx/slider.h"
+ #include "wx/statbox.h"
#include "wx/statusbr.h"
#include "wx/toolbar.h"
#include "wx/settings.h"
if ( bProcessed )
{
// we never set focus from here
- mResult = FALSE;
+ mResult = (MRESULT)FALSE;
}
break;