]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/statbmp.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/statbmp.cpp
3 // Purpose: wxStaticBitmap
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ===========================================================================
14 // ===========================================================================
16 // ---------------------------------------------------------------------------
18 // ---------------------------------------------------------------------------
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
29 #include "wx/statbmp.h"
33 #include "wx/window.h"
36 #include "wx/palmos/private.h"
38 // ---------------------------------------------------------------------------
40 // ---------------------------------------------------------------------------
42 // ===========================================================================
44 // ===========================================================================
46 // ---------------------------------------------------------------------------
48 // ---------------------------------------------------------------------------
50 static wxGDIImage
* ConvertImage( const wxGDIImage
& bitmap
)
55 bool wxStaticBitmap::Create(wxWindow
*parent
,
57 const wxGDIImage
& bitmap
,
66 wxBorder
wxStaticBitmap::GetDefaultBorder() const
71 WXDWORD
wxStaticBitmap::MSWGetStyle(long style
, WXDWORD
*exstyle
) const
76 bool wxStaticBitmap::ImageIsOk() const
81 void wxStaticBitmap::Free()
85 wxSize
wxStaticBitmap::DoGetBestSize() const
90 void wxStaticBitmap::SetImage( const wxGDIImage
* image
)
94 void wxStaticBitmap::SetImageNoCopy( wxGDIImage
* image
)
98 // We need this or the control can never be moved e.g. in Dialog Editor.
99 WXLRESULT
wxStaticBitmap::MSWWindowProc(WXUINT nMsg
,
106 #endif // wxUSE_STATBMP