Ryan Norton
6be23c2a23
pass by reference, not value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 07:45:15 +00:00
Włodzimierz Skiba
d1d276f231
WXUNUSED_UNLESS_ODRAWN does not reflect wxUSE_MENUS_NATIVE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 06:20:42 +00:00
Vadim Zeitlin
93bfd481b7
fixes for harmless mingw32 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 18:50:48 +00:00
Włodzimierz Skiba
a4d1972da4
Warning fix (unused value assignment).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 16:44:30 +00:00
Vadim Zeitlin
4bc0f25ed7
fixed wxMaximizeEvent generation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-15 22:14:05 +00:00
Vadim Zeitlin
ed4780ea6e
added As/DissociateHandle() and implemented it for MSW (modified patch 972356)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 22:17:22 +00:00
Włodzimierz Skiba
27d2dbbcca
Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, !!/!IsEmpty(), TRUE/true. FALSE/false, tabs, whitespaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-07 11:11:05 +00:00
Włodzimierz Skiba
35bbb0c66b
WinCE warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-23 10:56:16 +00:00
David Elliott
79099b80ad
wxWindowMSW::OnInitDialog is only implemented for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 19:34:19 +00:00
Julian Smart
d26e1ab206
Worked around static box opaqueness problem on WinCE by setting the
...
z-order in OnInitDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 09:34:25 +00:00
Robin Dunn
c7aee86546
Also don't send set focus events when the window is being deleted.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:23:46 +00:00
Włodzimierz Skiba
7010702f63
WinCE fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 11:11:46 +00:00
Włodzimierz Skiba
422d0ff0be
wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Włodzimierz Skiba
5cb598ae20
Fixes to warnings about assigning unused values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:19:32 +00:00
Włodzimierz Skiba
f5dd1cf1eb
Limited setup.h warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:23:31 +00:00
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