1 \section{\class{wxStaticBitmap
}}\label{wxstaticbitmap
}
3 A static bitmap control displays a bitmap.
5 \wxheading{Derived from
}
7 \helpref{wxControl
}{wxcontrol
}\\
8 \helpref{wxWindow
}{wxwindow
}\\
9 \helpref{wxEvtHandler
}{wxevthandler
}\\
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Include files
}
16 \wxheading{Window styles
}
18 There are no special styles for this control.
20 See also
\helpref{window styles overview
}{windowstyles
}.
24 \helpref{wxStaticBitmap
}{wxstaticbitmap
},
\helpref{wxStaticBox
}{wxstaticbox
}
28 The bitmap to be displayed should have a small number of colours, such as
16, to avoid
31 \latexignore{\rtfignore{\wxheading{Members
}}}
33 \membersection{wxStaticBitmap::wxStaticBitmap
}\label{wxstaticbitmapconstr
}
35 \func{}{wxStaticBitmap
}{\void}
39 \func{}{wxStaticBitmap
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{ id
},
\rtfsp
40 \param{const wxBitmap\&
}{label = ``"
},
\param{const wxPoint\&
}{pos
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
41 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBitmap"
}}
43 Constructor, creating and showing a text control.
45 \wxheading{Parameters
}
47 \docparam{parent
}{Parent window. Should not be NULL.
}
49 \docparam{id
}{Control identifier. A value of -
1 denotes a default value.
}
51 \docparam{label
}{Bitmap label.
}
53 \docparam{pos
}{Window position.
}
55 \docparam{size
}{Window size.
}
57 \docparam{style
}{Window style. See
\helpref{wxStaticBitmap
}{wxstaticbitmap
}.
}
59 \docparam{name
}{Window name.
}
63 \helpref{wxStaticBitmap::Create
}{wxstaticbitmapcreate
}
65 \membersection{wxStaticBitmap::Create
}\label{wxstaticbitmapcreate
}
67 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{ id
},
\rtfsp
68 \param{const wxBitmap\&
}{label = ``"
},
\param{const wxPoint\&
}{pos
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
69 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBitmap"
}}
71 Creation function, for two-step construction. For details see
\helpref{wxStaticBitmap::wxStaticBitmap
}{wxstaticbitmapconstr
}.
73 \membersection{wxStaticBitmap::GetBitmap
}\label{wxstaticbitmapgetbitmap
}
75 \constfunc{wxBitmap\&
}{GetBitmap
}{\void}
77 Returns a reference to the label bitmap.
81 \helpref{wxStaticBitmap::SetBitmap
}{wxstaticbitmapsetbitmap
}
83 \membersection{wxStaticBitmap::SetBitmap
}\label{wxstaticbitmapsetbitmap
}
85 \func{virtual void
}{SetBitmap
}{\param{const wxBitmap\&
}{ label
}}
87 Sets the bitmap label.
89 \wxheading{Parameters
}
91 \docparam{label
}{The new bitmap.
}
95 \helpref{wxStaticBitmap::GetBitmap
}{wxstaticbitmapgetbitmap
}