]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/popupwin.cpp
cleanup - reformat
[wxWidgets.git] / src / palmos / popupwin.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/popupwin.cpp
3 // Purpose: implements wxPopupWindow for Palm OS
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #ifndef WX_PRECOMP
28 #include "wx/defs.h"
29 #endif //WX_PRECOMP
30
31 #if wxUSE_POPUPWIN
32
33 #include "wx/popupwin.h"
34
35 #include "wx/palmos/private.h" // for GetDesktopWindow()
36
37 IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
38
39 // ============================================================================
40 // implementation
41 // ============================================================================
42
43 bool wxPopupWindow::Create(wxWindow *parent, int flags)
44 {
45 return false;
46 }
47
48 void wxPopupWindow::DoGetPosition(int *x, int *y) const
49 {
50 }
51
52 WXDWORD wxPopupWindow::MSWGetStyle(long flags, WXDWORD *exstyle) const
53 {
54 return 0;
55 }
56
57 WXHWND wxPopupWindow::MSWGetParent() const
58 {
59 return (WXHWND) 0;
60 }
61
62 bool wxPopupWindow::Show(bool show)
63 {
64 return false;
65 }
66
67 #endif // #if wxUSE_POPUPWIN
68