Commit Graph

499 Commits

Author SHA1 Message Date
Włodzimierz Skiba
c57c2993ec Warning fix for assignment of unused value.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 14:49:37 +00:00
Václav Slavík
2d17baae34 BCC compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 19:38:13 +00:00
Vadim Zeitlin
45956e3776 call InheritAttributes() during creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:51:49 +00:00
Vadim Zeitlin
64869ab787 made GetTextExtent() work correctly with NULL theFont parameter (m_font might nto be set); drastically simplified it by using helper WindowHDC and SelectInHDC classes instead of the old mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:47:01 +00:00
Vadim Zeitlin
0d9b2c1636 added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:14:24 +00:00
Václav Slavík
7a5e53abb3 fixed warnings after GetFont prototype change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 14:25:47 +00:00
Václav Slavík
b2b225e777 default colours are not stored in m_fore/backgroundColour variables anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:31:29 +00:00
Włodzimierz Skiba
095b80e2b5 Conditional compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:26:36 +00:00
Włodzimierz Skiba
991420e6df Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 09:48:15 +00:00
Robin Dunn
4105cbfb05 oops, forgot to remove a bit of test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:40:55 +00:00
Robin Dunn
44f08a2291 Use GetBackgroundColour in the default OnEraseBackground so it can use
the default if the colour hasn't been explicitly set


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:36:32 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Dimitri Schoolwerth
0b4f47a319 partially applied patch #895170: "Building with minimal setup.h - continuation"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:14:41 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robin Dunn
fdec2c0554 fixed wxGetKeyState to get current status of non-togle keys, and to
correctly test for the toggles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 00:36:36 +00:00
Włodzimierz Skiba
abb74e0f76 Extended patch #942204, centralized wxDefaultSize, wxDefaultPosition and wxID_ANY values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:19:48 +00:00
Mattia Barbon
40ad34262a wxUniversal compilation fix. The fix is ok because this ash
is a wxMSW data structure, and can only contain wxMSW windows.
Compilation tested with and without wxUniversal and with and without
WXWIN_COMPATIBILITY_2_4.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:19:14 +00:00
Vadim Zeitlin
824a614c4e removed HandleSysCommand() and don't generate duplicate events for frame maximization/iconization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:05:33 +00:00
Dimitri Schoolwerth
3a3c86031d removed tab characters; minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 00:51:34 +00:00
Dimitri Schoolwerth
602e4c15ff don't repaint window if hidden: reduces flickering of hidden windows which change position (resulting in a repaint) due to for example sizer code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 00:45:38 +00:00
Vadim Zeitlin
af4954790b don't add WS_VISIBLE to all windows style (replaces patch 948992)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:15:04 +00:00
Julian Smart
960b193e59 Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
SDK defines.
Now creates menubar at bottom of window for PPC.
Window uses default position and size in PPC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 22:17:24 +00:00
Robert Roebling
46fa338b6f Code for single instance and bring-to-top under CE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 21:47:12 +00:00
Vadim Zeitlin
af498247c5 make XTI compile with VC6 (patch 896614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:51:57 +00:00
Robert Roebling
304b8bc189 Added SW_SCROLLCHILDREN to make scrolling work
under eVC 3.0 (and probably any Windows CE).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:10:30 +00:00
Vadim Zeitlin
e0c5c96f67 don't define functions unused under CE when compiling for it (avoids warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 23:36:29 +00:00
Vadim Zeitlin
993da3969b use the window default colours, not hardcoded ones, in OnSysColourChanged()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:08:44 +00:00
Vadim Zeitlin
34040e3126 default implementation of Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:07:32 +00:00
Vadim Zeitlin
ff79234425 distinguish between main keyboard and numeric enter keys (fixes 902095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 23:13:50 +00:00
Vadim Zeitlin
27005f3a3f explicitly return NFR_UNICODE from WM_NOTIFYFORMAT when using MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:45:26 +00:00
Robin Dunn
426936d182 Change wxMSW to use WidthDefault and HeightDefault for window sizes,
like the other platforms do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 21:17:06 +00:00
Vadim Zeitlin
a1037371af wxWindow::Freeze()/Thaw() can now be nested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 18:15:00 +00:00
Vadim Zeitlin
118208ac3b fix showing toolbar tooltips (we were using a pointer to a temporary object so it mostly _appeared_ to work but really didn't)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-27 00:24:13 +00:00
Julian Smart
c140b7e7c9 Applied patch [ 903619 ] Win64 and Itanium support
by Brian Palmer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 10:45:02 +00:00
Julian Smart
d61c1a6f21 Fixed source for WinCE compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 10:06:26 +00:00
Dimitri Schoolwerth
08158721a1 Cosmetic cleanup (TRUE/FALSE, tabs, ...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 21:56:40 +00:00
Dimitri Schoolwerth
25c46fda57 Extended maximum tooltip length (in non-Unicode comctl32 4.70+ mode) from (MSW limited) 39 chars to 512 chars (customizable).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 21:38:22 +00:00
Julian Smart
a0d924c696 Infinite recursion fix
Viktor Voroshylo:
I did not put it in __WXWINCE__ defines as it looks like just another safeguard that will work on regular windows as well. The problem was that wxWindowMSW::MSWOnScroll is calling itself forever under winCE for wxListCtrl object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 09:29:19 +00:00
Vadim Zeitlin
975b6bcf9b Win64 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 13:02:51 +00:00
Vadim Zeitlin
d85c53a5cc wxUniv compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 21:41:23 +00:00
Vadim Zeitlin
16dd61ac10 don't use char hook to handle Esc in the dialogs, it is too blunt and prevents us from using it for the other purposes such as closing popup menus (bug 884713)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:20:02 +00:00
Vadim Zeitlin
2d1715aa46 fixed wxEVT_CONTEXT_MENU generation (it works differently under w2k/XP than under NT4 apparently...) (partly fixes bug 861510)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:38:54 +00:00
Vadim Zeitlin
550049c260 renamed wxEventFixModule to wxWakeUpIdleModule; added error checking; slight code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:38:35 +00:00
Vadim Zeitlin
9cb57df493 use hard coded default size for top level windows instead of CW_USEDEFAULT: this results in more decent default frame size and fixes initial wxMiniFrame size which used to be tiny 8*8 (and so fixes bug 817832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:20:10 +00:00
Robin Dunn
6afa47d63d Also allow key events for Shift-Tab when wxWANTS_CHARS style is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 02:00:48 +00:00
Václav Slavík
ae54422d9d cleanup: all definitions missing from std headers should be in missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 14:44:46 +00:00
Chris Elliott
2a78ba63c1 fix for DMC missing mouse defines - linking of minimal failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-20 09:01:11 +00:00
Chris Elliott
446ea10731 fix for DMC missing mouse defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 16:41:08 +00:00
Julian Smart
6463b9f539 Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00