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
Francesco Montorsi
954360caca
fix crash because of a missing wxOK constant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 16:15:09 +00:00
Václav Slavík
cf78bdcb68
added wxTaskBarIcon::IsAvailable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:54:02 +00:00
Vadim Zeitlin
8f00347ae3
put wxUSE_TASKBARICON_BALLOONS around ShowBalloon() call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-10 12:20:09 +00:00
Vadim Zeitlin
cdcfde5d20
added MSW-specific wxTaskBarIcon::ShowBalloon() method; use it in the taskbar sample (and also clean it up significantly)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 16:25:30 +00:00
Vadim Zeitlin
3ecee463f5
removed the menu item which could be used to remove the icon and leave the user without any way to interact with the application (nor quit it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 15:55:28 +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
David Surovell
d806d30a0f
applied patch 1372197, with some minor mods and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 17:55:33 +00:00
Robert Roebling
2afa9fa7a9
Forgot to commit sample testing update ui events
...
for wxTaskBarIcon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 23:07:45 +00:00
David Elliott
a5593369fc
Add a second wxTaskBarIcon that uses the Dock (wxCocoa only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 02:15:48 +00:00
Ryan Norton
329fa15121
revert to pre-drawer state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 15:03:57 +00:00
Ryan Norton
b32c4204bc
add drawer to taskbaricontest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 10:51:46 +00:00
Václav Slavík
012f1014df
warning fix w/o #ifdefs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:51:45 +00:00
Włodzimierz Skiba
82c06b740e
2.4 compatibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 19:52:13 +00:00
Václav Slavík
d5690a21e3
fixed MSW crashes when choosing Exit in popup menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 21:58:28 +00:00
Václav Slavík
6466d41e94
corrected EVT_TASKBAR_XXX macros to use wxTaskBarIconEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 14:19:35 +00:00
Václav Slavík
dae73d7473
added wxTaskBarIcon::CreatePopupMenu API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:56:29 +00:00
Václav Slavík
96aecfc900
pop the menu up on mouse down, not up (this is more common behaviour in Windows and both GTK and Qt apps)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:56:37 +00:00
Václav Slavík
0dc6da2d7d
show icon changing on all platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:04:58 +00:00
Václav Slavík
0063a4dce6
don't use cryptic buttons, it's bad UI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 12:51:23 +00:00
Dimitri Schoolwerth
2a21ac1590
applied patch #935127 : "wxDIALOG_MODAL and wxDIALOG_MODELESS cleaning"; some cosmetic cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 12:44:56 +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
Włodzimierz Skiba
27301f2690
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 10:47:31 +00:00
Václav Slavík
1e6d9c20fd
unified wxTaskBarIcon behaviour: wxMSW version is not removed automatically when all frames are closed, it must be destroyed explicitly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 23:20:16 +00:00
Julian Smart
256b8649ff
Add longtool tip for a button in wxToolBar test
...
Various warning suppressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 12:52:20 +00:00
Václav Slavík
4bc6471261
updates to taskbar sample to use events instead of virtuals and work under Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:20:52 +00:00
Mattia Barbon
ab1ca7b3dd
More samples/Unicode fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 18:13:27 +00:00
Julian Smart
e015d1f7da
Applied patch [ 603858 ] wxTextCtrl text alignment patch
...
Benjamin I. Williams
This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.
At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.
As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.
While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!
This patch also updates the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:30 +00:00
Gilles Depeyrot
788233da90
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Vadim Zeitlin
2f6c54eb07
patch from Dimitri fixing a few memory leaks and unTABbing the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Vadim Zeitlin
e0221ef7cb
1. new samples proejct files for VC++
...
2. a few fixes (mainly compilation warnings) to the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:34:22 +00:00
Julian Smart
ab85e6cd00
Added "set new icon" menu item to taskbar sample; updated some makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 10:11:24 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Julian Smart
a42b93aaad
Minor doc typos removed; compilation improved for VC++ 4.x
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 17:08:11 +00:00
Julian Smart
c25a510b30
Mostly Mingw32/Cygwin corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 19:04:48 +00:00
Julian Smart
d66d9d5bf0
A fix for wxTaskBarIcon (temporary wxFrame interfering with app shutdown);
...
added event handler for tbtest.cpp so it'll quit properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-09 20:49:34 +00:00
Robin Dunn
69ecd30f31
Added wxTaskBarIcon::PopupMenu()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-11 05:56:40 +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