]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/popupwin.cpp
Forgot to commit header.
[wxWidgets.git] / src / palmos / popupwin.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: palmos/popupwin.cpp
3 // Purpose: implements wxPopupWindow for Palm OS
4 // Author: William Osborne
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "popup.h"
22 #endif
23
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
26
27 #ifdef __BORLANDC__
28 #pragma hdrstop
29 #endif
30
31 #ifndef WX_PRECOMP
32 #include "wx/defs.h"
33 #endif //WX_PRECOMP
34
35 #if wxUSE_POPUPWIN
36
37 #include "wx/popupwin.h"
38
39 #include "wx/palmos/private.h" // for GetDesktopWindow()
40
41 IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
42
43 // ============================================================================
44 // implementation
45 // ============================================================================
46
47 bool wxPopupWindow::Create(wxWindow *parent, int flags)
48 {
49 return false;
50 }
51
52 void wxPopupWindow::DoGetPosition(int *x, int *y) const
53 {
54 }
55
56 WXDWORD wxPopupWindow::MSWGetStyle(long flags, WXDWORD *exstyle) const
57 {
58 return 0;
59 }
60
61 WXHWND wxPopupWindow::MSWGetParent() const
62 {
63 return (WXHWND) 0;
64 }
65
66 bool wxPopupWindow::Show(bool show)
67 {
68 return false;
69 }
70
71 #endif // #if wxUSE_POPUPWIN
72