]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/utilsgui.cpp
Fix typo in last commit
[wxWidgets.git] / src / palmos / utilsgui.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/utilsgui.cpp
3 // Purpose: Various utility functions only available in GUI
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 #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
37 // ---------------------------------------------------------------------------
38 // helper functions for showing a "busy" cursor
39 // ---------------------------------------------------------------------------
40
41 static int gs_wxBusyCursorCount = 0;
42
43 // Set the cursor to the busy cursor for all windows
44 void wxBeginBusyCursor(const wxCursor *cursor)
45 {
46 }
47
48 // Restore cursor to normal
49 void wxEndBusyCursor()
50 {
51 }
52
53 // true if we're between the above two calls
54 bool wxIsBusy()
55 {
56 return false;
57 }
58
59 // Check whether this window wants to process messages, e.g. Stop button
60 // in long calculations.
61 bool 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
69 wxChar *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
80 void wxGetMousePosition( int* x, int* y )
81 {
82 };
83
84 // Return true if we have a colour display
85 bool wxColourDisplay()
86 {
87 return false;
88 }
89
90 // Returns depth of screen
91 int wxDisplayDepth()
92 {
93 return 0;
94 }
95
96 // Get size of display
97 void wxDisplaySize(int *width, int *height)
98 {
99 }
100
101 void wxDisplaySizeMM(int *width, int *height)
102 {
103 }
104
105 void wxClientDisplayRect(int *x, int *y, int *width, int *height)
106 {
107 }