The problem was found during testing of the DateTimePicker from this topic.
To localize the problem:
We've got wxGenericCalendarCtrl drawing on wxComboPopup (actually, it doesn't matter where to draw). In my case drawing of the calendar was too slow while on the clean sample it everything was OK.
I analyzed my application and found that when I use localization, then the problem occurs. I've tested it in calendar sample and the results were the same. I've just added
Code: Select all
before the calendar's creating and it slowed the drawing of the calendar.
So the questions:
1) What the reason of such behavior?
2) How can I solve the problem? I need my application to be multi language as well as need possibility to change calendar's highlight color.