projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
position expander in center of given rectangle
[wxWidgets.git]
/
src
/
gtk
/
statbmp.cpp
diff --git
a/src/gtk/statbmp.cpp
b/src/gtk/statbmp.cpp
index b12acdde77a64e2cec979b3370ea185b5b4ddfb4..a1c66085e38a85bb14a3e595cef23cb39ca5e38a 100644
(file)
--- a/
src/gtk/statbmp.cpp
+++ b/
src/gtk/statbmp.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: statbmp.cpp
+// Name: s
rc/gtk/s
tatbmp.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Purpose:
// Author: Robert Roebling
// Id: $Id$
@@
-20,8
+20,6
@@
// wxStaticBitmap
//-----------------------------------------------------------------------------
// wxStaticBitmap
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap,wxControl)
-
wxStaticBitmap::wxStaticBitmap(void)
{
}
wxStaticBitmap::wxStaticBitmap(void)
{
}
@@
-49,7
+47,7
@@
bool wxStaticBitmap::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bi
m_widget = gtk_image_new();
g_object_ref(m_widget);
m_widget = gtk_image_new();
g_object_ref(m_widget);
- if (bitmap.Ok())
+ if (bitmap.
Is
Ok())
SetBitmap(bitmap);
PostCreation(size);
SetBitmap(bitmap);
PostCreation(size);
@@
-62,7
+60,7
@@
void wxStaticBitmap::SetBitmap( const wxBitmap &bitmap )
{
m_bitmap = bitmap;
{
m_bitmap = bitmap;
- if (m_bitmap.Ok())
+ if (m_bitmap.
Is
Ok())
{
// always use pixbuf, because pixmap mask does not
// work with disabled images in some themes
{
// always use pixbuf, because pixmap mask does not
// work with disabled images in some themes