Vadim Zeitlin
aa4919edd1
Use theme functions for drawing owner-drawn menus.
...
This makes the menu items with custom attributes or bitmaps look more native,
especially on post-XP systems.
Closes #11420 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-23 13:21:36 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
45e6e6f8ab
call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Vadim Zeitlin
004f400287
remove extraneous commas and semicolons (patch 1537792)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:17:53 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Włodzimierz Skiba
925e9792d3
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
8520f1374c
Fixes for wxUSE_STATUSBAR.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Włodzimierz Skiba
f0f574b0d3
wxUniv conslicts, -1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 20:04:49 +00:00
Julian Smart
be5a51fb59
More name changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Vadim Zeitlin
f8a0822bc5
some cosmetic fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 08:51:16 +00:00
Vadim Zeitlin
2ef76992c8
no real changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 12:33:28 +00:00
Vadim Zeitlin
33c9645172
unused params warnings fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 00:29:04 +00:00
Vadim Zeitlin
1bf0f0af62
show how to use different bitmaps for enabled/disabled menu item state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:33:06 +00:00
Julian Smart
0a4c16d6c4
Test using transparency in menu bitmaps.
...
Better, but still shows background when menu item selected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:01:31 +00:00
Mattia Barbon
600683ca05
Fixed all remaining samples/Unicode compilation errors.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 17:25:36 +00:00
Julian Smart
2a2a71e326
Applied patch [ 642172 ] Fix menu accelerators in ownerdrw
...
Fixed bug when updating menu text to inform the
ownerdrw code of the new menu accelerator attached to
the menu item.
Improved the layout of the owenerdrw menu ownerdrw to
correctly account for menu accelerators, submenu
arrows etc.
Scott Pleiter
(Note from JACS: I've also changed the sample to show the Quit item
correctly aligned; it needs to have the font set before wxWin knows
it's an ownerdrawn item.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:15:00 +00:00
Vadim Zeitlin
4ccf704abd
removed a few warnings and CW compilation problems (patch from Dimitri)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:43:13 +00:00
Mattia Barbon
4693b20c75
Unicode compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
J. Russell Smyth
88b0e1c83d
Moved initialization of status bar to eliminate assert caused by new
...
controls trying to set s-bar text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-04 21:19:46 +00:00
Julian Smart
e306597309
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
...
MM_... -> wxMM_...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Julian Smart
94f52d90c9
Various fixes incl. checking in .po/.mo files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-09 18:12:31 +00:00
Unknown (UG)
0ab4b99cdf
uint to unsigned int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-24 14:55:43 +00:00
Karsten Ballüder
bbf1f0e5cf
now MSW stuff is complete
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-20 14:21:00 +00:00