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