]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/statbmp.cpp
Fix test for wxHAS_GENERIC_PANEL for PCH-less build.
[wxWidgets.git] / src / palmos / statbmp.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/statbmp.cpp
3 // Purpose: wxStaticBitmap
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_STATBMP
28
29 #include "wx/statbmp.h"
30
31 #ifndef WX_PRECOMP
32 #include "wx/icon.h"
33 #include "wx/window.h"
34 #endif
35
36 #include "wx/palmos/private.h"
37
38 // ---------------------------------------------------------------------------
39 // macors
40 // ---------------------------------------------------------------------------
41
42 // ===========================================================================
43 // implementation
44 // ===========================================================================
45
46 // ---------------------------------------------------------------------------
47 // wxStaticBitmap
48 // ---------------------------------------------------------------------------
49
50 static wxGDIImage* ConvertImage( const wxGDIImage& bitmap )
51 {
52 return NULL;
53 }
54
55 bool wxStaticBitmap::Create(wxWindow *parent,
56 wxWindowID id,
57 const wxGDIImage& bitmap,
58 const wxPoint& pos,
59 const wxSize& size,
60 long style,
61 const wxString& name)
62 {
63 return false;
64 }
65
66 wxBorder wxStaticBitmap::GetDefaultBorder() const
67 {
68 return wxBORDER_NONE;
69 }
70
71 WXDWORD wxStaticBitmap::MSWGetStyle(long style, WXDWORD *exstyle) const
72 {
73 return 0;
74 }
75
76 bool wxStaticBitmap::ImageIsOk() const
77 {
78 return false;
79 }
80
81 void wxStaticBitmap::Free()
82 {
83 }
84
85 wxSize wxStaticBitmap::DoGetBestSize() const
86 {
87 return wxSize(0,0);
88 }
89
90 void wxStaticBitmap::SetImage( const wxGDIImage* image )
91 {
92 }
93
94 void wxStaticBitmap::SetImageNoCopy( wxGDIImage* image)
95 {
96 }
97
98 // We need this or the control can never be moved e.g. in Dialog Editor.
99 WXLRESULT wxStaticBitmap::MSWWindowProc(WXUINT nMsg,
100 WXWPARAM wParam,
101 WXLPARAM lParam)
102 {
103 return false;
104 }
105
106 #endif // wxUSE_STATBMP