git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55485
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+ ButtonLabel(const char *label)
+ : m_label(label), m_stockId(wxID_NONE)
+ {
+ }
+
+ ButtonLabel(const wchar_t *label)
+ : m_label(label), m_stockId(wxID_NONE)
+ {
+ }
+
+ ButtonLabel(const wxCStrData& label)
+ : m_label(label), m_stockId(wxID_NONE)
+ {
+ }
+
// default copy ctor and dtor are ok
// get the string label, whether it was originally specified directly
// default copy ctor and dtor are ok
// get the string label, whether it was originally specified directly
m_extendedMessage = extendedMessage;
}
m_extendedMessage = extendedMessage;
}
-protected:
- // common validation of wxMessageDialog style
+ // change the dialog style flag
void SetMessageDialogStyle(long style)
{
wxASSERT_MSG( ((style & wxYES_NO) == wxYES_NO) || !(style & wxYES_NO),
void SetMessageDialogStyle(long style)
{
wxASSERT_MSG( ((style & wxYES_NO) == wxYES_NO) || !(style & wxYES_NO),
long GetMessageDialogStyle() const { return m_dialogStyle; }
long GetMessageDialogStyle() const { return m_dialogStyle; }