1. implemented system menu handling in wxUniv (win32 theme only)

2. fixes to interactive moving/resizing in wxUniv


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-03-12 23:19:55 +00:00
parent 8014db4142
commit 71cb2ca1e3
3 changed files with 133 additions and 24 deletions

View File

@@ -923,7 +923,7 @@ enum wxBorder
wxMINIMIZE_BOX | wxMAXIMIZE_BOX | \
wxCAPTION | wxCLIP_CHILDREN)
#if defined(__WXMSW__) || defined(__WXPM__)
#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMGL__)
# define wxDEFAULT_DIALOG_STYLE (wxSYSTEM_MENU | wxCAPTION)
#else
// Under Unix, the dialogs don't have a system menu. Specifying wxSYSTEM_MENU
@@ -1232,8 +1232,18 @@ enum wxBorder
#define wxID_RETRY 5116
#define wxID_IGNORE 5117
// IDs used by generic file dialog (11 consecutive starting from this value)
// System menu IDs (used by wxUniv):
#define wxID_SYSTEM_MENU 5200
#define wxID_CLOSE_FRAME 5201
#define wxID_MOVE_FRAME 5202
#define wxID_RESIZE_FRAME 5203
#define wxID_MAXIMIZE_FRAME 5204
#define wxID_ICONIZE_FRAME 5205
#define wxID_RESTORE_FRAME 5206
// IDs used by generic file dialog (13 consecutive starting from this value)
#define wxID_FILEDLGG 5900
#define wxID_HIGHEST 5999
// ----------------------------------------------------------------------------