]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/toplevel.cpp
compile warnings, M_BITMAPDATA privatized
[wxWidgets.git] / src / palmos / toplevel.cpp
index 52116b2db919d8e4dcc17472567ff50b5428e252..6e624442284cef55e55aa15b5544183107bf8963 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------