X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/721a9626991bd21815663a52ed6543647127fabf..9cc62fc819e1b2b01af9732a3ad218aeec13e4d4:/src/palmos/toplevel.cpp?ds=sidebyside diff --git a/src/palmos/toplevel.cpp b/src/palmos/toplevel.cpp index 52116b2db9..6e62444228 100644 --- a/src/palmos/toplevel.cpp +++ b/src/palmos/toplevel.cpp @@ -80,11 +80,6 @@ WXDWORD wxTopLevelWindowPalm::PalmGetStyle(long style, WXDWORD *exflags) const return 0; } -WXHWND wxTopLevelWindowPalm::PalmGetParent() const -{ - return NULL; -} - bool wxTopLevelWindowPalm::Create(wxWindow *parent, wxWindowID id, const wxString& title, @@ -147,6 +142,18 @@ wxTopLevelWindowPalm::~wxTopLevelWindowPalm() { } +// --------------------------------------------------------------------------- +// implementation +// --------------------------------------------------------------------------- + +WXWINHANDLE wxTopLevelWindowPalm::GetWinHandle() const +{ + FormType *form = GetForm(); + if(form) + return FrmGetWindowHandle(form); + return 0; +} + // ---------------------------------------------------------------------------- // wxTopLevelWindowPalm showing // ---------------------------------------------------------------------------- @@ -233,15 +240,11 @@ FormType *wxTopLevelWindowPalm::GetForm() const return FrmGetActiveForm(); } -#ifndef __WXWINCE__ - bool wxTopLevelWindowPalm::SetShape(const wxRegion& region) { return false; } -#endif // !__WXWINCE__ - // ---------------------------------------------------------------------------- // wxTopLevelWindow native event handling // ----------------------------------------------------------------------------