]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/statbmp.cpp
Redone (generic) wxComboCtrl background painting and handling. The 'actual' wxWindow...
[wxWidgets.git] / src / palmos / statbmp.cpp
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/statbmp.cpp
ffecfa5a 3// Purpose: wxStaticBitmap
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#if wxUSE_STATBMP
28
cdccdfab 29#include "wx/statbmp.h"
ffecfa5a
JS
30
31#ifndef WX_PRECOMP
32 #include "wx/icon.h"
cdccdfab 33 #include "wx/window.h"
ffecfa5a
JS
34#endif
35
cdccdfab
WS
36#include "wx/palmos/private.h"
37
ffecfa5a
JS
38// ---------------------------------------------------------------------------
39// macors
40// ---------------------------------------------------------------------------
41
ffecfa5a
JS
42// ===========================================================================
43// implementation
44// ===========================================================================
45
46// ---------------------------------------------------------------------------
47// wxStaticBitmap
48// ---------------------------------------------------------------------------
49
50static wxGDIImage* ConvertImage( const wxGDIImage& bitmap )
51{
52 return NULL;
53}
54
55bool 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
66wxBorder wxStaticBitmap::GetDefaultBorder() const
67{
68 return wxBORDER_NONE;
69}
70
71WXDWORD wxStaticBitmap::MSWGetStyle(long style, WXDWORD *exstyle) const
72{
73 return 0;
74}
75
76bool wxStaticBitmap::ImageIsOk() const
77{
78 return false;
79}
80
81void wxStaticBitmap::Free()
82{
83}
84
85wxSize wxStaticBitmap::DoGetBestSize() const
86{
87 return wxSize(0,0);
88}
89
90void wxStaticBitmap::SetImage( const wxGDIImage* image )
91{
92}
93
94void wxStaticBitmap::SetImageNoCopy( wxGDIImage* image)
95{
96}
97
98// We need this or the control can never be moved e.g. in Dialog Editor.
99WXLRESULT wxStaticBitmap::MSWWindowProc(WXUINT nMsg,
100 WXWPARAM wParam,
101 WXLPARAM lParam)
102{
103 return false;
104}
105
106#endif // wxUSE_STATBMP