Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#24 fix for changeing font size

open
5
2009-07-07
2009-07-07
Anonymous
No

simptom: when changeing fontsize in font dialog by editing sipin control text then pressing enter to change the fonts , fonts are not correctly updated.

simple workarount would be to handle ok button press:

in event table : EVT_BUTTON(wxID_OK, CHMFontDialog::OnOkPressed)

add member function :

void CHMFontDialog::OnOkPressed(wxCommandEvent& WXUNUSED(event))
{
UpdatePreview();
AcceptAndClose();
}

and do not forget add function definition in coresponding header.

//\! This is called when Ok is pressed
void OnOkPressed\(wxCommandEvent& event\);

Discussion

  • Why do you say it doesn't work? It works just fine for me.

    Please note that if you're sure that there's a problem like that, you should use the bugs tracker, not the feature requests tracker.

    What's your setup (OS/wxWidgets/xCHM version)?

     
    • assigned_to: nobody --> thewhiterabbit