#15092 closed defect (fixed)

wxPreferencesPage display prb on Windows

Reported by: troelsk Owned by: vadz
Priority: normal Milestone:
Component: GUI-all Version: stable-latest
Keywords: wxPreferencesPage Cc:
Blocked By: Blocking:
Patch: no

Description

Attachment: The checkbox displays all black, on opening the preferences window in the sample, every time, on the two Win7 boxes I tried on.
wxCheckBox looks fine in the widgets samples.

Attachments (1)

preferences.png download (18.7 KB) - added by troelsk 14 months ago.
preferences sample

Download all attachments as: .zip

Change History (3)

Changed 14 months ago by troelsk

preferences sample

comment:1 Changed 14 months ago by vadz

  • Owner set to vadz
  • Status changed from new to accepted

I see this too and while it's probably due to a bug in wxMSW somewhere, it's fixed by simply sizing the dialog properly initially. Currently this is not done at all meaning that it is too small for sufficiently large pages and adding Fit() call both fixes that problem and this ticket so I'll just do it.

comment:2 Changed 14 months ago by VZ

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [73624]) Fit the generic preferences editor dialog to its pages size initially.

Ensure that the dialog has the appropriate size before showing it.

In addition to making it big enough to fit the pages contents, this also fixes
a problem with initial appearance under MSW.

Closes #15092.

Note: See TracTickets for help on using tickets.