]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/popupwin.cpp
implementing pure carbon event behaviour, getting rid of doubly executed events
[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
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
37IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
38
39// ============================================================================
40// implementation
41// ============================================================================
42
43bool wxPopupWindow::Create(wxWindow *parent, int flags)
44{
45 return false;
46}
47
48void wxPopupWindow::DoGetPosition(int *x, int *y) const
49{
50}
51
52WXDWORD wxPopupWindow::MSWGetStyle(long flags, WXDWORD *exstyle) const
53{
54 return 0;
55}
56
57WXHWND wxPopupWindow::MSWGetParent() const
58{
59 return (WXHWND) 0;
60}
61
62bool wxPopupWindow::Show(bool show)
63{
64 return false;
65}
66
67#endif // #if wxUSE_POPUPWIN
68