]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/utilsgui.cpp
suppress harmless gcc warning about not handling all enum values in a switch
[wxWidgets.git] / src / palmos / utilsgui.cpp
CommitLineData
ffecfa5a 1///////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/utilsgui.cpp
ffecfa5a 3// Purpose: Various utility functions only available in GUI
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
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/cursor.h"
29 #include "wx/window.h"
30 #include "wx/utils.h"
31#endif //WX_PRECOMP
32
33// ============================================================================
34// implementation
35// ============================================================================
36
ffecfa5a
JS
37// ---------------------------------------------------------------------------
38// helper functions for showing a "busy" cursor
39// ---------------------------------------------------------------------------
40
41static int gs_wxBusyCursorCount = 0;
42
43// Set the cursor to the busy cursor for all windows
f516d986 44void wxBeginBusyCursor(const wxCursor *cursor)
ffecfa5a
JS
45{
46}
47
48// Restore cursor to normal
49void wxEndBusyCursor()
50{
51}
52
53// true if we're between the above two calls
54bool wxIsBusy()
55{
56 return false;
57}
58
59// Check whether this window wants to process messages, e.g. Stop button
60// in long calculations.
61bool wxCheckForInterrupt(wxWindow *wnd)
62{
63 return false;
64}
65
66// MSW only: get user-defined resource from the .res file.
67// Returns NULL or newly-allocated memory, so use delete[] to clean up.
68
69wxChar *wxLoadUserResource(const wxString& resourceName, const wxString& resourceType)
70{
71 return NULL;
72}
73
74// ----------------------------------------------------------------------------
75// get display info
76// ----------------------------------------------------------------------------
77
78// See also the wxGetMousePosition in window.cpp
79// Deprecated: use wxPoint wxGetMousePosition() instead
80void wxGetMousePosition( int* x, int* y )
81{
82};
83
84// Return true if we have a colour display
85bool wxColourDisplay()
86{
87 return false;
88}
89
90// Returns depth of screen
91int wxDisplayDepth()
92{
93 return 0;
94}
95
96// Get size of display
97void wxDisplaySize(int *width, int *height)
98{
99}
100
101void wxDisplaySizeMM(int *width, int *height)
102{
103}
104
105void wxClientDisplayRect(int *x, int *y, int *width, int *height)
106{
107}