Commit Graph

5081 Commits

Author SHA1 Message Date
Vadim Zeitlin
cc05060c18 make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:03:24 +00:00
Vadim Zeitlin
7e4d15d545 really fix the length of the string returned by wxConvertStringToOle() (#10056)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:57:06 +00:00
Vadim Zeitlin
9dd0e3cfcf don't hard code the menu bar height under WinCE (#10248) [backport of r57393 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:29:20 +00:00
Václav Slavík
a53dd41397 fix for r56618: toolbar event handlers can toggle or disable tools again (patch #10241)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 18:34:50 +00:00
Vadim Zeitlin
da895a08f5 fix handling of abandoned mutexes in wxMutex::Wait[Timeout]() (#10236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:22:04 +00:00
Vadim Zeitlin
0386be5f06 don't call DragFinish() before calling DragQueryPoint() or we (naturally) don't get the correct answer from the query (#10238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:17:36 +00:00
Vadim Zeitlin
6ddb01662f fix best size caluclation for the notebooks with multiple rows (#2335) [backport of r57024 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:39:47 +00:00
Vadim Zeitlin
e8b7069659 properly NUL-terminate the string when using strncpy() (#10230)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 13:43:32 +00:00
Kevin Ollivier
c41168ca31 Backport MSW wxGraphicsBitmap fixes from trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-21 04:46:57 +00:00
Vadim Zeitlin
2f86dfdf1e display enumeration functions are in coredll.dll and not user32.dll under CE (closes #10189) [backport of r52077]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 17:46:46 +00:00
Kevin Ollivier
aec24dc76c More fixes for API on 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 21:39:29 +00:00
Kevin Ollivier
e368aa6911 Fix issues caused by making DrawBitmap/CreateBitmap non-virtual on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:46:58 +00:00
Kevin Ollivier
f6810851c6 Landing 2.8 ABI compatible version of wxGraphicsBitmap API/implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:25:09 +00:00
Václav Slavík
215649ad82 fix toolbar buttons so that they don't disappear temporarily when clicked if the event handler causes window update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 09:47:57 +00:00
Vadim Zeitlin
21246d94ba disable workaround for lack of alpha support in native static bitmap control for WinCE, apparently it breaks the display (#10093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:15:19 +00:00
Vadim Zeitlin
988707fe39 use fabs() instead of abs() to fix mingw32 compilation [backport of r48782 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:09:05 +00:00
Robert Roebling
e5bafa71da Ticket #10108 (bitmap from wxImage depth regression)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 17:01:02 +00:00
Vadim Zeitlin
753874333a reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Vadim Zeitlin
ab5e7b0274 reset deferred position/size if the window was moved immediately (#10073)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 21:03:40 +00:00
Václav Slavík
08393b0503 fixed VC++ compiler checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 06:08:26 +00:00
Vadim Zeitlin
ad4cb2a1df generate command events for accelerators even when there is no menu bar (#9784) fixing the bug introduced in r54510
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 22:01:56 +00:00
Vadim Zeitlin
98b423c884 no changes, just removed commented out code accidentally checked in as part of r37393
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 12:13:21 +00:00
Vadim Zeitlin
d8e8af008f using CLSCTX_ALL fails with Microsoft Office applications, correct the last change to use CLSCTX_SERVER only (see #9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 15:18:16 +00:00
Vadim Zeitlin
4589d14838 WinCE compilation fix: don't use FNERR_INVALIDFILENAME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 13:33:35 +00:00
Vadim Zeitlin
443fb14a30 only request Enter key for the spin control if it has wxTE_PROCESS_ENTER style [partial backport of r55617 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:56:14 +00:00
Vadim Zeitlin
9353f8892e copy alpha presence flag when copying bitmaps using DIBs (#9883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:45:52 +00:00
Robin Dunn
7bdd98dc13 64-bit compile fixes, turn off optimizations in GetCustomDrawnItemRect to avoid an ICE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 04:11:04 +00:00
Vadim Zeitlin
7abb1a56f1 implement wxWinINetInputStream::GetSize() (#9600) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:44:03 +00:00
Vadim Zeitlin
1c802b3b14 don't use BS_AUTORADIOBUTTON at all, BS_RADIOBUTTON works just as well and doesn't hang the application in some circumstances (#9786) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:38:24 +00:00
Vadim Zeitlin
76ae7f748b handle FNERR_INVALIDFILENAME which happens if an invalid file name is passed to wxFileDialog (#9688) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 17:49:04 +00:00
Vadim Zeitlin
e87b77933f don't always create DIBs in wxBitmap(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 20:43:48 +00:00
Vadim Zeitlin
8c42541999 fix MSVC warning about int->bool conversion introduced by r55113
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 20:04:58 +00:00
Vadim Zeitlin
4f3118c4b2 use CLSCTX_ALL instead of CLSCTX_LOCAL_SERVER in CreateInstance() (#9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:57:55 +00:00
Vadim Zeitlin
cc68a5bd69 add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Vadim Zeitlin
7e8f47db5e ensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise layout code doesn't work correctly and this can easily happen if the radiobox is created from an XRC file not specifying its style at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:59:13 +00:00
Stefan Csomor
bc217fe9dc guarding all text methods against unset font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 06:31:46 +00:00
Vadim Zeitlin
2c6ca6f1fa mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 22:22:16 +00:00
Vadim Zeitlin
71d4b88bdf allow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 15:53:44 +00:00
Vadim Zeitlin
6cc415390f backport fixes for the fix for transparency in static bitmaps (r51824) from trunk (r54651 and r54652)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 01:54:58 +00:00
Vadim Zeitlin
e21c350472 avoid duplicated command events if a wxFrame-level handler called event.Skip() (#4757)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 14:04:15 +00:00
Vadim Zeitlin
6425e8747b support disabling items before adding them to the menu (#3423)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:42:18 +00:00
Vadim Zeitlin
b69b11c40c quote the arguments containing spaces or quotes correctly in wxExecute(char **) overload (#4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 00:05:36 +00:00
Vadim Zeitlin
c3e7fde30f fix a hang up in wxExecute(wxArrayString& output) overload (#4380)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 23:37:56 +00:00
Julian Smart
6586262593 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 09:39:44 +00:00
Vadim Zeitlin
2e312581a5 compilation fix for ASCII STL build (#9661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 21:46:29 +00:00
Vadim Zeitlin
5a1a494861 ensure that GetEditControl() returns something even if label editing was started by the user and not the program (#1325) [backport of r53831 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 01:35:24 +00:00
Vadim Zeitlin
453c35deaf fix handling of the keys in wxSpinCtrl (#9637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:50:36 +00:00
Vadim Zeitlin
ef87bd2ccc don't activate items on Alt-Space or Alt-Enter (#9615)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:49:44 +00:00
Vadim Zeitlin
54160f3c64 test for either Ctrl or Shift in MSWShouldPreProcessMessage() instead of Ctrl twice (#9620)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:43:26 +00:00
Vadim Zeitlin
cf92614370 don't call OnData() if OnEnter() rejected the drag (#9634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:40:42 +00:00