Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't set initial label in wxNativeWindow on OS X
Differentiate between setting the label from SetLabel() and from SetPeer() (i.e. initially), because some native controls shouldn't have an empty string set as their intitial value. Override SetInitialSize() to be empty for wxNativeWindow in order to prevent label-setting issues when an unknown, caller-controlled native widget is attached. Reverts db9baf9, which was the previous attempt to fix this, but was causing too many problems elsewhere.
- Loading branch information
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters