wxWidgets/contrib/include/wx
Julian Smart 45da7759b8 Applied [ 516382 ] FL toolbar patch
This patch addresses following issues on FL dynamic
toolbar:

* Removes duplicate code in
wxNewBitmapButton::RenderLabelImage(). (The code
between line 452-500 and 502-550 is the same.)

* Adds wxNewBitmapButton::Enable() own method to proper
drawing of enabled/disabled buttons.

* Changes "focused" state (of wxNewBitmapButton)
implementation from EVT_MOTION to
EVT_ENTER/LEAVE_WINDOW pair, because capturing mouse in
EVT_MOTION handler blocks some key events (control
characters, function keys), so underlynig app doesn't
receive all key events when mouse pointer is above
toolbar button.
Also "prev" state member variables are removed by this
patch (and IMHO they should be removed regardles on
accepting this patch - they are initalized and used
only in wxNewBitmapButton::OnMouseMove() method).
(Note: Blocking some keys can be only MSW problem, but
I can't verify it.)

* Adds EVT_LEFT_DCLICK handler to wxNewBitmapButton -
without this handler, toolbar button loses second
clicks if user presses left mouse button "fast enough".
Unfortunately, it doesn't handle drawing of
pressed/released button - it's only one event in
contrast to EVT_LEFT_UP/DOWN.

* Enables tooltips (in proper
wxDynamicToolBar::AddTool() method).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 19:05:25 +00:00
..
animate Added animation classes to contrib hierarchy 2001-07-06 10:24:54 +00:00
applet Merges from Scitech Branch (George Davison): 2002-02-07 18:46:31 +00:00
canvas Changed wxCanvas constants from XXX to wxXXX 2001-01-25 18:25:21 +00:00
fl Applied [ 516382 ] FL toolbar patch 2002-03-06 19:05:25 +00:00
gizmos Added wxLEDNumberCtrl to gizmos and wxPython 2001-12-07 18:45:16 +00:00
mmedia wxMMedia doc updates 2000-06-04 08:38:36 +00:00
net Added simple UNIX implementation 2001-09-06 19:27:52 +00:00
ogl Removed m_clientData and related methods as it's now handled by the 2001-12-03 18:17:43 +00:00
plot Added geometry option to setup.h; added some missing make and project files 2001-06-12 10:14:58 +00:00
stc Updated to use correct value for wxSTC_MASK_FOLDERS 2002-01-09 21:14:48 +00:00
xrc don't translate accelerators in XRC menus 2002-02-15 19:41:43 +00:00