Added some missing wxTextCtrl features to to-do list in wxX11's readme.txt
Made the wxTipDialog fonts all Swiss (TODO: use current GUI setting for the font family) Worked around focus anomaly by suppressing parent's FocusIn event when child's focus is being set by clicking on it (TODO: move some of this to SetFocus() to make it work programmatically) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -188,12 +188,13 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
|
||||
wxDefaultPosition, wxSize(200, 160),
|
||||
wxTE_MULTILINE |
|
||||
wxTE_READONLY |
|
||||
wxTE_NO_VSCROLL |
|
||||
wxTE_RICH | // a hack to get rid of vert scrollbar
|
||||
wxSUNKEN_BORDER);
|
||||
#if defined(__WXMSW__)
|
||||
m_text->SetFont(wxFont(12, wxROMAN, wxNORMAL, wxNORMAL));
|
||||
m_text->SetFont(wxFont(12, wxSWISS, wxNORMAL, wxNORMAL));
|
||||
#else
|
||||
m_text->SetFont(wxFont(14, wxROMAN, wxNORMAL, wxNORMAL));
|
||||
m_text->SetFont(wxFont(14, wxSWISS, wxNORMAL, wxNORMAL));
|
||||
#endif
|
||||
|
||||
wxIcon icon = wxArtProvider::GetIcon(wxART_TIP, wxART_CMN_DIALOG);
|
||||
|
Reference in New Issue
Block a user