Change wxDIALOG_NO_PARENT to avoid clash with wxICON_EXCLAMATION.
Use 0x20 (wxAPPLY) instead of 0x100 (wxICON_EXCLAMATION) for wxDIALOG_NO_PARENT as otherwise using wxICON_EXCLAMATION with wxMessageBox in wxGTK (and possibly other ports, although not wxMSW which doesn't honour wxDIALOG_NO_PARENT for message boxes at all) resulted in not using the specified parent for the message box and, as a side effect, not centering it on its parent neither. Closes #13464. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,10 +45,10 @@ class WXDLLIMPEXP_FWD_CORE wxTopLevelWindowBase;
|
||||
| | | | | | | | | | | | | \_______ wxFRAME_TOOL_WINDOW
|
||||
| | | | | | | | | | | | \__________ wxFRAME_FLOAT_ON_PARENT
|
||||
| | | | | | | | | | | \_____________ wxFRAME_SHAPED
|
||||
| | | | | | | | | | \________________
|
||||
| | | | | | | | | | \________________ wxDIALOG_NO_PARENT
|
||||
| | | | | | | | | \___________________ wxRESIZE_BORDER
|
||||
| | | | | | | | \______________________ wxTINY_CAPTION_VERT
|
||||
| | | | | | | \_________________________ wxDIALOG_NO_PARENT
|
||||
| | | | | | | \_________________________
|
||||
| | | | | | \____________________________ wxMAXIMIZE_BOX
|
||||
| | | | | \_______________________________ wxMINIMIZE_BOX
|
||||
| | | | \__________________________________ wxSYSTEM_MENU
|
||||
|
Reference in New Issue
Block a user