Describe the bug
On Windows (where wxPreferencesEditor is modal and destroyed each time), the pages get the TransferDataToWindow method called every time the user brings up the Preferences panel. Thus, the pages can be properly configured/updated to reflect whatever is the current state of the application.
On OSX, the TransferDataToWindow is ONLY called when the user first opens the preferences. If the user closes the preferences and then re-opens it, the pages do not get notifications to allow the pages to update.
In some applications, the preferences can be used to select a default view or default device or similar from some set of user created objects. The app needs to be able to update the list of objects whenever the wxPreferencesEditor is opened.
Expected vs observed behaviour
TransferDataToWindow is called whenever the preferences are opened (or page changed).
Platform and version information
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
For the record, this comment explains what ought to be done here and why always calling TransferDataToWindow() is undesirable.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()