#pragma hdrstop
#endif
+#include "wx/toplevel.h"
+
#ifndef WX_PRECOMP
#include "wx/app.h"
- #include "wx/toplevel.h"
#include "wx/dialog.h"
#include "wx/string.h"
#include "wx/log.h"
#include "wx/containr.h" // wxSetFocusToChild()
#include "wx/button.h"
#include "wx/checkbox.h"
+ #include "wx/radiobut.h"
+ #include "wx/slider.h"
+ #include "wx/module.h"
#endif //WX_PRECOMP
-#include "wx/module.h"
#include "wx/display.h"
// controls for sending select event
-#include "wx/radiobut.h"
#include "wx/tglbtn.h"
-#include "wx/slider.h"
#include "wx/datectrl.h"
#include <Window.h>
bool wxTopLevelWindowPalm::Show(bool show)
{
+ if (true != show) {
+ return true;
+ }
FrmDrawForm((FormType *)FrameForm);
wxPaintEvent event(m_windowId);
event.SetEventObject(this);
- GetEventHandler()->ProcessEvent(event);
+ HandleWindowEvent(event);
return true;
}
return wxEmptyString;
}
-void wxTopLevelWindowPalm::SetIcon(const wxIcon& icon)
-{
-}
-
void wxTopLevelWindowPalm::SetIcons(const wxIconBundle& icons)
{
}
palmEvent->data.winResized.newBounds.extent.y);
wxSizeEvent eventWx(newSize,GetId());
eventWx.SetEventObject(this);
- return GetEventHandler()->ProcessEvent(eventWx);
+ return HandleWindowEvent(eventWx);
}
void wxTopLevelWindowPalm::OnActivate(wxActivateEvent& event)