]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/popupwin.cpp
compute scrollbar widths in a more standard way, get rid of redundant m_hasScrolling...
[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 #if wxUSE_POPUPWIN
28
29 #ifndef WX_PRECOMP
30 #endif //WX_PRECOMP
31
32 #include "wx/popupwin.h"
33
34 #include "wx/palmos/private.h" // for GetDesktopWindow()
35
36 IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
37
38 // ============================================================================
39 // implementation
40 // ============================================================================
41
42 bool wxPopupWindow::Create(wxWindow *parent, int flags)
43 {
44 return false;
45 }
46
47 void wxPopupWindow::DoGetPosition(int *x, int *y) const
48 {
49 }
50
51 WXDWORD wxPopupWindow::MSWGetStyle(long flags, WXDWORD *exstyle) const
52 {
53 return 0;
54 }
55
56 WXHWND wxPopupWindow::MSWGetParent() const
57 {
58 return (WXHWND) 0;
59 }
60
61 bool wxPopupWindow::Show(bool show)
62 {
63 return false;
64 }
65
66 #endif // #if wxUSE_POPUPWIN