Commit Graph

1741 Commits

Author SHA1 Message Date
Vadim Zeitlin
f7040b5fe6 added IsSizeDeferred() (part of patch 1199639)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 16:19:45 +00:00
Vadim Zeitlin
285ba64d0d #undef things which require other, disabled, ones, instead of re-#defining them as 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 11:16:04 +00:00
Vadim Zeitlin
6ca1005bcb removed attempts to link with unicows.lib using #pragmas for msvc, this doesn't work reliably
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 22:56:41 +00:00
Vadim Zeitlin
3c232ecbaf link unicows.lib implicitely when using MSVC and wxUSE_UNICODE_MSLU==1 (thi is used in DLL wx builds)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:23:23 +00:00
Michael Wetherell
f2555abd7a Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:48:24 +00:00
Vadim Zeitlin
6ba93d23bf made wxChoice and wxComboBox::GetSelection() return only completed selection in wxMSW; added GetCurrentSelection() with the old behaviour and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:30:33 +00:00
Vadim Zeitlin
6bbe97b71d force update of MDI client window size after the MDI parent frame is iconized and restored, otherwise all kinds of bad things (changes in MDI children positions; possibility to move them above the toolbar and below the status bar; wrong repaining) happen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:24:56 +00:00
Vadim Zeitlin
749870835d check that wxUSE_DC_CACHEING is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:10:09 +00:00
Julian Smart
4a3a0eada4 Compatibility settings corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 17:55:56 +00:00
Vadim Zeitlin
86e3091191 don't remember size passed to SetSize() as pending position/size for TLW as deferred move is not used for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 17:35:38 +00:00
Vadim Zeitlin
3df732cd47 removed wxUSE_MENU_CALLBACK references: the code inside the #if couldn't compile anyhow as wxFunction isn't defined in wx since quite some time now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:35:09 +00:00
Vadim Zeitlin
85fa5d02d8 removed (unused since quite some time) wxUSE_ITSY_BITSY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:31:11 +00:00
Vadim Zeitlin
91ebae296d removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:28:00 +00:00
Vadim Zeitlin
16f10340da define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:21:49 +00:00
Julian Smart
550f38d743 More settings restored.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 14:51:40 +00:00
Julian Smart
e7c240da70 Switched loads of settings back on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 10:28:19 +00:00
Julian Smart
b7972e1fa8 Resolved CVS conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 10:05:41 +00:00
Vadim Zeitlin
b55c37167d moved MSW-specific stuff to wx/msw/chkconf.h, this also means that MSW-specific checks are not done for WinCE build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 12:48:40 +00:00
Vadim Zeitlin
7ecb668390 define wxUSE_UNICODE_MSLU as 0 unconditionally, CE doesn't support nor need MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 12:46:11 +00:00
Julian Smart
7bccea09a7 Define wxUSE_UNICODE_MSLU or chkconf.h complains
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 11:51:07 +00:00
Vadim Zeitlin
2bb0622079 wxUSE_UNICODE_MSLU is MSW-specific so shouldn't be in setup_inc.h: removed and regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:36:33 +00:00
Vadim Zeitlin
7d86a2d45c replaced wxMoveWindowDeferred() with wxWindow::DoMoveSibling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:01:51 +00:00
Vadim Zeitlin
4fa8085100 decreased text limit which we consider to be set by user (and not built in the control) to 10001 which is less than default 30000
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 23:01:56 +00:00
Chris Elliott
e3307dddec wxMDIChildFrame::DetachMenuBar() to fix SF bug 1232271
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 13:41:49 +00:00
Vadim Zeitlin
ddc5c471d4 refactoring in preparation for further changes: moved data in a private struct, let Windows load resources instead of doing it ourselves, use GlobalPtr[Lock] classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 13:19:32 +00:00
Vadim Zeitlin
2be57a5131 added GlobalPtr: GlobalAlloc/Free() wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 12:18:17 +00:00
Vadim Zeitlin
0645e2b90a renamed GlobalPtr to GlobalPtrLock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 11:17:28 +00:00
Vadim Zeitlin
da98e15760 disabled wxStackWalker and wxCrashReport for Win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 14:02:55 +00:00
Michael Wetherell
35c2acd4a8 Add wxListCtrl::Get/SetItemFont, patch 1236820 Francesco Montorsi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 22:29:20 +00:00
Włodzimierz Skiba
7121be53c7 eVC3 compatibility workaround.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:44:06 +00:00
Włodzimierz Skiba
b4626104e5 wxMSWUniv build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 13:36:31 +00:00
Vadim Zeitlin
a7b7500c4f added SetCriticalWindow() and AllowProcessing(): this allows to freeze all events except those for the specified window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 22:57:49 +00:00
Vadim Zeitlin
f55fee08e9 moved Esc processing from wxWindow to wxDialog where it belongs; use the -- to be implemented in 2.7 -- GetEscapeId() to decide what to do when Esc is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 23:09:00 +00:00
Vadim Zeitlin
c9f00f2fce wxVariant is in wxBase so should be forward declared using WXDLLIMPEXP_BASE and not WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 21:36:25 +00:00
Włodzimierz Skiba
0c0d1521c0 Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 13:39:03 +00:00
Michael Wetherell
8b5d41cc51 Add HANGUL_CHARSET for vc++ 5, and move a couple of others that were already
in there for DMC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-29 01:34:43 +00:00
Vadim Zeitlin
0cdd4e199e added AutoHANDLE class to close a HANDLE automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:48:43 +00:00
Włodzimierz Skiba
03de0ad439 Adjust to different platform headers distributed with DMC (build fix after recent change in msw/treectrl.cpp).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 10:34:49 +00:00
Julian Smart
e3ad57026a Applied patch [ 1212208 ] Fix a bug in wxTreeCtrl with wxTR_MULTIPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:01:19 +00:00
Julian Smart
ce0e1aacbc Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP
Also removed temporary fix to hardwire listbox background colour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:36:48 +00:00
Vadim Zeitlin
92bdf9f72f don't redeclare struct tm if it's already declared in std headers; declare and define localtime() and company as extern C as they are supposed to be
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 00:09:18 +00:00
Vadim Zeitlin
f3411ec6f7 include wx/msw/wrapcctl.h instead of <commctrl.h> as otherwise value of _WIN32_IE is inconsistent when we do include wx/msw/wrapcctl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 21:47:29 +00:00
Vadim Zeitlin
4edb3b83fb don't define WINVER as 0x0600 for VC6, its standard headers warn against this if we do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 20:13:27 +00:00
Vadim Zeitlin
1033b8362a don't define WINVER in platform.h, do it in wrapwin.h and always define it as 0x0600 (current max)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:19:37 +00:00
Vadim Zeitlin
be2572a325 wxGetWinVersion() must be exported from base DLL, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 16:55:08 +00:00
Vadim Zeitlin
3cbb739d3d forgot to export wxGetWinVersion() from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 16:45:06 +00:00
Vadim Zeitlin
4c5da5e42d added wxGetWinVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 13:29:43 +00:00
Vadim Zeitlin
820a7a1b22 silently ignore wxUSE_UNICODE_MSLU in non-Unicode builds (see also rev 1.106 of wx/chkconf.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:28:31 +00:00
Julian Smart
5e711f771a Made the colours more muted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 14:21:07 +00:00
Dimitri Schoolwerth
8003f8de3a added IDC_HAND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 13:37:13 +00:00