]> git.saurik.com Git - wxWidgets.git/commit
Use the best instead of current page size in OS X preferences dialog.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 May 2013 23:47:20 +0000 (23:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 May 2013 23:47:20 +0000 (23:47 +0000)
commit50f12a63130b81796ea531c59af97f0544cf158d
tree36f4bb4fcf23ee1e91f4cb2c2a420a34dc06d8fb
parent48e05747043db02c4e9d2e286eca4fdf5dee7881
Use the best instead of current page size in OS X preferences dialog.

The page, which is typically just a wxPanel, is usually not created with the
correct size, so resize it to its best size before showing it in the
preferences dialog.

This makes OS X behaviour consistent with MSW and GTK and is generally more
useful.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/cocoa/preferences.mm