Mattia Barbon
aae91497f6
Removed some old cruft from wxBitmap, moved wxMotif- and
...
wxControl-specific functionality (GetXXXPixmap) into a separate
class, and fixed the implementation. Adapted wxStaticBitmap,
wxBitmapButton and wxToolBar to the new situation.
Various fixes to wxToolBar: Realize does not create buttons
multiple times anymore, use the disabled bitmap as the disabled
bitmap, not as the toggled bitmap for toggle buttons (!),
reposition buttons/controls when a tool is removed/deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:40:32 +00:00
Julian Smart
a8f4cabe1e
Applied patch [ 681893 ] Combobox in toolbar
...
This patch adds controls (i.e. combobox) to toolbars.
It also changes the toolbar sample so the combobox is
actually shown.
Otto Wyss
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:38:02 +00:00
Vadim Zeitlin
e08bbf3708
added a test for check tbar buttons state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:36:08 +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
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
dd46ee66e5
no changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:34:59 +00:00
Vadim Zeitlin
69c14ebe01
uncomment SetMargins() call which works now (the person who commented it out probably did know about the bug, but chose to change the sample instead of fixing the code...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:40:55 +00:00
Vadim Zeitlin
ba0abe3c71
added test for toggling the main toolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 14:08:39 +00:00
Chris Elliott
0ed1d09c46
comment added to toolbar to say using BMPs uses less pace than XPMs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:08:07 +00:00
Robert Roebling
34d26f42b1
Rewrote wxToolBar another time.
...
Other minor tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 21:18:39 +00:00
Vadim Zeitlin
c631abdae9
made radio buttons and the toolbat text work for Win32 toolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 00:44:57 +00:00
Vadim Zeitlin
ec483b11bb
tests for the new toolbar features (icons text and the radio buttons)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 21:38:45 +00:00
Václav Slavík
368d59f0d8
don't use deprecated wxImage methods inside wxWin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +00:00
Vadim Zeitlin
2b69aeaa92
removed the SetMargins call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:08 +00:00
Julian Smart
16c9a4258f
Fixed conflicts with Robert's similar fixes; fixed toolbar size calculation
...
and allowed for vertical toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:04:46 +00:00
George Tasker
92a19c2e77
All occurances of #include <wx/wxprec.h> changed to #include "wx/wxprec.h"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:33:34 +00:00
Vadim Zeitlin
86f65864f9
fixed bug reported in patch 427696 (incorrect toolbar style)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 13:25:01 +00:00
Václav Slavík
0133d06b1a
ShowFullScreen is not MSW-only anymore, updated docs and samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:25:17 +00:00
Robert Roebling
47c93b637e
Applied colour patch for better 8-bit support,
...
Improved handling of inserting controls into
a toolbar that don't have any def width. This
works for all controls but wxComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 12:27:26 +00:00
Vadim Zeitlin
a1f79c1e00
1. added wxGTK::wxToolBar::SetToolShortHelp() and test for it in sample
...
2. fix a crash if SetSelection is called too early in wxTextCtrl
3. patch for mouse position in wxTreeCtrl events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:07:12 +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
b487a08f91
Added ShowFullScreen call (MSW only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:19:47 +00:00
Vadim Zeitlin
40515a2167
added demo for bitmaps of different size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:31:16 +00:00
Vadim Zeitlin
e838cc1468
1. wxMotif toolbar works; the toggle buttons have the same width as the other
...
ones and not twice as big
2. wxMotif::wxBitmap(from XPM) ctor now takes either "char **" or "const char
**", as in wxGTK
3. added an X error handler to wxMotif (debug only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 19:36:05 +00:00
Vadim Zeitlin
9fb35cf180
small fix to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 17:39:07 +00:00
Vadim Zeitlin
ad4ae6ed7a
testing wxToolBarSimple
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 18:02:44 +00:00
Vadim Zeitlin
980662342f
support for multiple rows in Win32 native toolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 01:54:39 +00:00
Vadim Zeitlin
5ef2e6333e
added support for vertical toolbars for MSW - seems to work more or less
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 02:02:09 +00:00
Vadim Zeitlin
fc6bbc6dad
updated the sample and renamed the files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 23:05:56 +00:00