Włodzimierz Skiba
1b941f2d31
Warning fixes for OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Włodzimierz Skiba
cb719f2e29
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 18:20:56 +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
e0dd12db99
Using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate a
...
new ID for the item using wxNewId(). As a consequence of this, the
value of wxID_SEPARATOR was changed from -1 to -2 in order to not
clash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 23:28:11 +00:00
Robin Dunn
d6071228a9
wxPython needs wxRTTI info for wxToolBarToolBase in order to return
...
objects of the right type. Also made FindById public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 21:12:36 +00:00
Vadim Zeitlin
6bb7cee4e9
fixes to radio button handling (patch 803360)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 19:43:47 +00:00
Václav Slavík
a3bf7524f3
removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Julian Smart
e6c96a7ca4
Applied patch [ 689188 ] adds wxToolBar::GetToolPos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:27:39 +00:00
David Elliott
d9e2e4c242
Allow headers to be compiled in Objective-C++ mode
...
Changed id to one of:
winid Window IDs and event system
itemid Menu items
toolid Toolbar items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 02:58:55 +00:00
Julian Smart
371a5b4e62
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 10:34:04 +00:00
Vadim Zeitlin
dd91da4ed1
added Add/InsertTool() (patch 672032)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 01:13:35 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Gilles Depeyrot
af49c4b8a2
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@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Robert Roebling
fba2d5e694
Added wxToolBar::FindControl() to fish out
...
controls in a toolbar by its id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 10:00:24 +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
e76c0b5fc5
implemented (but it doesn't work yet) the radio buttons and text in the buttons for the GTK toolbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 21:38:18 +00:00
Vadim Zeitlin
3216dbf5dc
[start of] a wxUniversal implementation of wxToolBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:48 +00:00
Julian Smart
c229e50dc7
Added middle mouse event macros to wxListCtrl doc; added wxCreateGreyedImage
...
and attempt to show disabled buttons in wxUniversal wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 10:11:10 +00:00
Vadim Zeitlin
42d6e13697
wxToolBarTool::IsXXX() should return bool, not int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 23:56:08 +00:00
Vadim Zeitlin
33b12a3ab3
fixed "toolbar getting focus" bug for the (N+1)-th time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 00:25:34 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Julian Smart
e1190518b6
Corrected recursive GetToolMargins()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 15:16:28 +00:00
Kendall Bennett
33ac7e6f01
Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
...
clean with this compiler. Hopefully I did this without breaking other
compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
Vadim Zeitlin
8bf30fe9b0
merged wxFont related fix (operator==) and optimization (cache default GUI font)
...
from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 16:03:10 +00:00
Vadim Zeitlin
0ea48a1f23
fixed GetMargins() compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-23 20:28:54 +00:00
Vadim Zeitlin
ef7eaedd63
added GetMargins()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-23 16:35:50 +00:00
Julian Smart
12ed316d02
Added DECLARE/IMLEMENT_CLASS for wxToolBarBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-06 16:52:29 +00:00
Julian Smart
4f43043985
Removed wxWS_EX_NO_AUTOFOCUS (use AcceptsFocus instead)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 14:33:20 +00:00
Bryan Petty
3ca6a5f046
second merge of the 2.2 branch (RL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +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
David Webster
2063a4a0ca
Fixed a void* to wxObject* conversion error in a return causing compile break across all ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 15:35:48 +00:00
Vadim Zeitlin
6fd5fa4fcc
added wxToolBar::SetToolClientData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:10:05 +00:00
Vadim Zeitlin
8a0681f933
merging in the toolbar changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +00:00
Vadim Zeitlin
6d167489bd
1. wxIcon/wxCursor change, wxGDIImage class added
...
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:30:56 +00:00
Vadim Zeitlin
f76dbc4d52
unused param warning fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:31:35 +00:00
Vadim Zeitlin
1c383dbac9
controls can now be put in the toolbars (MSW only so far, preliminary version)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 02:17:44 +00:00
Vadim Zeitlin
b02da6b187
many warnings fixed (from HP-UX compilation log)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:41:23 +00:00
Robert Roebling
85eb36c267
Added support for extra bitmap for toggled tool.
...
Implemented WarpPointer() and added a test for it
to controls.
Some minor documention updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-31 10:47:44 +00:00
Vadim Zeitlin
a23fd0e1d1
1. MSW message handling simplifications
...
2. wxDC split into wxDC and wxDCBase
3. Several minor bug fixes, many major new bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 21:21:04 +00:00
Vadim Zeitlin
f03fc89fff
wxWindow split into wxWindowBase and wxWindow (wxGTK part)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 22:17:03 +00:00
Ove Kaaven
f39f922082
And here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 11:56:36 +00:00
Julian Smart
dbdb39b2d0
Some doc corrections; removed wxDocument arg from wxView constructor;
...
wxTextCtrl::OnChar correction; added SetString and default constructor
to wxStringTokenizer; added missing MSW wxFrame::SetSize functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-16 20:17:02 +00:00
Robert Roebling
4fcd73bd9b
Applied Russel's changes to wxToolBarBase
...
fixed stippled brush for bitmaps (as opposed to pixmaps)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-16 09:31:28 +00:00
Julian Smart
6244848856
Changes for 16-bit BC++ (not there yet), GnuWin32; typetest sample
...
fixed; some documentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-28 12:35:49 +00:00
Julian Smart
34138703c3
Changes mostly as a result of __WXSTUBS__ compilation. The stubs code now
...
compiles under Windows with VC++. Also OGL enhancements espec. wxDrawnShape.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-15 00:23:28 +00:00
Julian Smart
4d0c0756e1
MSWOnMouseMove arg bug in toolbar; compile bug in regconf; fixed warning in odbc.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-30 09:37:26 +00:00