Custom control problem
Carsten A. Arnholm
arnholm at offline.no
Tue Jun 26 13:49:33 PDT 2007
Carsten A. Arnholm wrote:
> Robert Roebling wrote:
>> Carsten A. Arnholm wrote
>
>>> Any ideas why I get different layout results?
>>
>> No idea, really, but what does CheckBox->GetBestSize() return for
>> wxMSW and wxGTK? Maybe wxGTK doesn't calculate the size of empty
>> check boxes correctly.
>
> Thanks. I will check this tonight and report back.
wxMSW: CheckBox->GetBestSize() returns {x=13 y=13}
wxGTK: CheckBox->GetBestSize() returns {x=23 y=21}
So this might be a clue...?
I tried calling SetSize and SetInitialSize on the checkboxes, but with no
apparent effect
Best regards
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457
More information about the wx-users
mailing list