dc.SetBrush(*wxWHITE_BRUSH);
dc.DrawRectangle(0, 0, size.x, size.y);
dc.SetBrush(*wxWHITE_BRUSH);
dc.DrawRectangle(0, 0, size.x, size.y);
- if ( !wxDialog::Create( parent , wxID_ANY , _T("Choose Font") ,
+ if ( !wxDialog::Create( parent , wxID_ANY , wxT("Choose Font") ,
wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE,
wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE,
{
fontFamily = m_fontData.m_initialFont.GetFamily();
fontWeight = m_fontData.m_initialFont.GetWeight();
{
fontFamily = m_fontData.m_initialFont.GetFamily();
fontWeight = m_fontData.m_initialFont.GetWeight();
if ( !m_colourChoice->GetStringSelection().empty() )
{
wxColour col = wxTheColourDatabase->Find(m_colourChoice->GetStringSelection());
if ( !m_colourChoice->GetStringSelection().empty() )
{
wxColour col = wxTheColourDatabase->Find(m_colourChoice->GetStringSelection());
}
// Update color here so that we can also use the color originally passed in
// (EnableEffects may be false)
}
// Update color here so that we can also use the color originally passed in
// (EnableEffects may be false)