Robin Dunn
402ce75571
Patch from David Falkinder to help building a STC dll.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 21:10:20 +00:00
Vadim Zeitlin
e8800dcfa7
added proportion parameter to wxFlexGridSizer::AddGrowableRow/Col()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 11:55:26 +00:00
Vadim Zeitlin
702c420889
added WXK_WINDOWS_XXX key constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 11:51:41 +00:00
Vadim Zeitlin
8a09029e0c
added wxUSE_DISPLAY
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:30:35 +00:00
Václav Slavík
850c6ed46e
wxCLOSE->wxCLOSE_BOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:13:26 +00:00
Václav Slavík
d3c0ce3402
unified default values for conv arguments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:31:44 +00:00
Václav Slavík
f1a19f1478
added wxCLOSE and unified wxDEFAULT_DIALOG_STYLE definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:21:47 +00:00
Vadim Zeitlin
bad93b357f
forward declare wxMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 12:43:06 +00:00
Mattia Barbon
e1aae52885
Implemented DoGetBestSize for wxListBox, (native) wxComboBox and
...
wxTextCtrl, and used it when wxSize(-1, -1) is passed to Create, to set
the initial size.
Added wxDoChangeFont and wxXmStringToString helper functions, removed
the use of m_stringList in native wxComboBox, removed some duplicated code
in wxWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 20:33:43 +00:00
Václav Slavík
1da51aafba
make wxConvUTF8 available in wchar_t-less mode, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:01:54 +00:00
Václav Slavík
67de05a11c
wxFileConfig in Unicode fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:01:29 +00:00
Mattia Barbon
69c4481222
Use some wxX11 files (currently pen.cpp and brush.cpp) in wxMotif.
...
Add src/x11 to VPATH in configure, and add a new flag to filelist.txt
indicating a file used in wxMotif but not in wxMotif directory.
Modifed VMS makefiles, too (should be checked by someone with VMS,
though).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 18:20:47 +00:00
Julian Smart
9dc8c75994
Temporary fix for strange wxDateTime link error with VC++ and wxUSE_ACCESSIBILITY=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 21:06:52 +00:00
Robin Dunn
7de595519a
Send the wxWindowDestroyEvent for all ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 02:59:36 +00:00
Julian Smart
d43851f77e
Applied patch [ 608866 ] wxGrid: vertical column label text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 14:25:34 +00:00
Julian Smart
2cdd094b12
Applied patch [ 681921 ] Stray focus rectangle in static text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:40:30 +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
Julian Smart
c6e2af4570
Some improvements to accessibility behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:33:42 +00:00
Julian Smart
e0496eaaa4
Changed back inline/const things
...
wxTabCtrl must have WS_CHILD window style
small access.cpp tweaks (call QueryInterface)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-17 12:43:47 +00:00
Václav Slavík
b1ef887ad8
another compilation fix for over-optimized #includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 23:08:33 +00:00
Gilles Depeyrot
904a2463aa
fix wxDateTime offset for Apple Developer Tools (SourceForge bug # 614010)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 18:19:15 +00:00
Vadim Zeitlin
e38ed919ba
inserted casts allowing to have arrays of function pointers -- this is wrong but works on most platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 17:46:05 +00:00
Julian Smart
45a959a33b
Added accessibility headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 11:57:24 +00:00
Julian Smart
57b486583d
VC++ 6 doesn't seem to like the uninlining thing and
...
also the wxDateTime::TIME_T_FACTOR must be always defined;
else we get link errors. I don't know why these didn't
turn up before...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-15 17:14:19 +00:00
Vadim Zeitlin
a08e7186b4
added an assert checking that Resume() is not called unnecessarily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 00:22:36 +00:00
Chris Elliott
9c11ecdbed
fix unused vars for watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 20:58:58 +00:00
Václav Slavík
c3d15542d6
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 20:35:27 +00:00
Mattia Barbon
08e5319b03
Implemented wxToggleButton under Motif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 18:20:23 +00:00
Vadim Zeitlin
9045ad9dfc
added DoSetNativeFontInfo() to avoid virtual function hiding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 15:42:27 +00:00
Mattia Barbon
ed39ff57b3
Remove unnecessary header dependencies. Fix resulting compilation
...
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default
configuration. Non-default configurations will probably need some more
fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:07:36 +00:00
Stefan Csomor
1c52210086
clipboard extension
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 09:11:43 +00:00
Vadim Zeitlin
e2b87f38d9
allow compilation with wxUSE_DATETIME == 0 (patch 679822)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 00:53:46 +00:00
Mattia Barbon
49bbd59b01
Do not redeclare a struct (w32api 2.2 will have it).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:37:58 +00:00
Mattia Barbon
9b1bd0c6e7
Applied patch [ 679397 ] remove GPL code from motif build
...
from Ian Brown, with some modifications; this patch replaces the (GPL)
Motif ComboBox with an implementation based on the native (for Motif 2.0)
ComboBox. The old ComboBox is still used as a fallback for older Motif
versions. My modifications include some method's implementation and
some workarounds for LessTif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:09:03 +00:00
Vadim Zeitlin
9d1e1be463
added wxLocale::FindLanguageInfo()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 16:43:10 +00:00
Vadim Zeitlin
d4c8e4a1d4
corrected the value of EUC_JP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 00:54:46 +00:00
Mattia Barbon
bf60426831
Make wxr resources work in Unicode mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 22:39:02 +00:00
Mattia Barbon
00dd3b1897
Do not #include an header where a forward declaration suffixes. Do not
...
include wx/wx.h directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 20:56:40 +00:00
Mattia Barbon
7e1bcfa80e
Implemented wxEventLoop for wxMotif, and used it in wxDialog::ShowModal,
...
wxWindow::DoPopupMenu and for the application main loop.
Implemented wxWakeUpIdle.
Fixed crash when a popup menu entry is used to close/destroy the parent
window of the menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:48:50 +00:00
Julian Smart
6f7c5199ed
Applied patch [ 677730 ] Menus with radio items (wxUniv)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:50:05 +00:00
Julian Smart
e2ca829e7d
Applied patch [ 670782 ] Combobox uses popup window width
...
(wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:47:04 +00:00
Vadim Zeitlin
90e2cbf780
use wxChar, not char, for the second argument of Open() and also use wxFopen() in the implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 12:46:33 +00:00
Vadim Zeitlin
eff4ffbf4f
big wxCursor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 02:06:34 +00:00
Vadim Zeitlin
62a0bb2788
removed wxCURSOR_SIZING (we now use the std one)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 01:50:07 +00:00
Vadim Zeitlin
367f7c4570
what do we need a separate (from m_windowStyle) m_dialogStyle here for? removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 23:30:53 +00:00
Chris Elliott
11a1face0e
fix bcc bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 19:54:11 +00:00
Robert Roebling
adfb70c30f
Removed unnecessary SET_STYLE.. macros.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:54 +00:00
Václav Slavík
ce6cea6808
restored #ifndef wxUSE_UNICODE accidentaly removed by my previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 19:49:42 +00:00
Robin Dunn
68c124a168
1. Added m_count and maintain its value in InsertItem, RemoveItem
...
etc. and return it from GetItemCount to save so many calls to
ListView_GetItemCount.
2. If EVT_LIST_DELETE_ALL_ITEMS was not handled then the
post-processing code to prevent LVN_DELETEITEM messages was not
getting executed. Changed it so the post processing always
happens.
3. It's possible with some versions of comctl32 that garbage values
can be passed in nmLV->lParam so don't try to get the internal item
data pointer from it. This should close bug# 659939
4. Added FreeAllInternalData from DeleteAllItems, (part of patch
#672065 ) and also guard against processing LVN_CHANG* messages
while freeing the internal data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:53:28 +00:00
Robin Dunn
6edf791ccb
Revert last change so the right log message gets put on the file. (I
...
did the last check in just a wee bit too fast...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:51:04 +00:00
Robin Dunn
cca784632f
Fix for export warning when compiling a DLL.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:48:11 +00:00
Václav Slavík
e74563e412
added MSLU reference to wxUSE_UNICODE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 23:29:11 +00:00
Stefan Csomor
cd28bcaded
moving all string conversions to private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:59:28 +00:00
Stefan Csomor
88522554f8
moving all string conversions here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:58:01 +00:00
Stefan Csomor
0f5cc041d2
additional mac alias types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:56:17 +00:00
Stefan Csomor
4c2300c6a1
getting rid of wxBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:55:21 +00:00
Gilles Depeyrot
57fbe23f68
added definition of TARGET_CARBON when compiling with non generated setup.h
...
using Project Builder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 22:26:30 +00:00
Gilles Depeyrot
82d4311313
moved definition of TARGET_CARBON to generated setup.h when compiling with
...
Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 22:23:02 +00:00
Stefan Csomor
cbf8aca6d4
Carbon Events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 07:01:23 +00:00
Stefan Csomor
b89f23763c
formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 07:00:57 +00:00
Stefan Csomor
f3fb0a0719
wxMenu Review, added Carbon Events and full OSX Support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 06:54:36 +00:00
Stefan Csomor
339e0cf110
not needed anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 06:53:15 +00:00
Stefan Csomor
6357cb9d09
added WXEVENTHANDLERREF for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 06:49:45 +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
Václav Slavík
903972f999
added wxHtmlWindow::LoadFile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:20:00 +00:00
Václav Slavík
2f5b93fb9f
added wxSplitterWindow to XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:19:04 +00:00
Václav Slavík
805f26b316
use all MIME data sources on Unix, not only mailcap/mime.types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 20:54:57 +00:00
Robert Roebling
138618acb9
Small speed up to fonts and support for scaling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:39:51 +00:00
Vadim Zeitlin
1558859090
added iosfwrap.h (wrapper for <iosfwd>)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 00:35:19 +00:00
Vadim Zeitlin
65f19af139
added iosfwrap.h (wrapper for <iosfwd>)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 00:12:12 +00:00
Vadim Zeitlin
5d76f46282
added support for non flexible (in one direction only) flexible sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 00:04:24 +00:00
Vadim Zeitlin
2abb9d2f17
added wxArray::SetCount()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 23:47:33 +00:00
Vadim Zeitlin
c781807d89
removed wxICON_IS_BITMAP, it is now always (implicitly) set to 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 13:06:00 +00:00
Vadim Zeitlin
e0d8fb4572
restored int (instea of size_t) in Remove() and Detach(); TRUE/FALSE -> true/false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 12:50:32 +00:00
Vadim Zeitlin
d162a7ee7d
removed warnings about using the deprecated functions and replaced untyped
...
wxLists with the type safe equivalents (patch 668204 from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 12:28:51 +00:00
Vadim Zeitlin
8e41796c6c
File/DirExists() are const now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 12:01:57 +00:00
Ron Lee
8f91dda1b4
Don't use bitmap by default.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:38:01 +00:00
Ron Lee
a0f3867a6a
Don't default to using bitmap.
...
Replaced old list operators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:26:33 +00:00
David Webster
4fd899b671
Support for new native OS/2 tree control with drag-and-drop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 22:31:41 +00:00
David Webster
c0ae383ac0
Support for new native OS/2 tree control.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 22:26:04 +00:00
Julian Smart
5cdff2990b
Applied patch [ 665088 ] Setup options cleanup (wxUniv)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 11:53:06 +00:00
Julian Smart
6766e5d136
Applied patch [ 621451 ] Fixed version of wxSlider class
...
Otto Wyss
This patch corrects several bugs in the wxSlider class
for the wxUniversal/MSW port. It affects the files
"slider.h", "slider.cpp", "win32.cpp" and "gtk.cpp"
(and others). The slider should now work as expected. A simple test
program can be downloaded from
"http://dpartialmirror.sourceforge.net/Test/ ".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 11:23:52 +00:00
Vadim Zeitlin
350777b68f
added and documented wxDirTraverser::OnOpenError
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 00:32:17 +00:00
David Webster
c4f4cf895c
Try this again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 14:22:05 +00:00
Vadim Zeitlin
8bbbae215c
made wxBitmapRefData private (actually, this also fixes some bug so it's not absolutely gratitious, but I already closed the bug not knowing that my cvs checkin was going to timeout and die and don't remember any more what it was...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:43:02 +00:00
Vadim Zeitlin
a7b4607f4a
compilation fixes for OpenWatcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:19:23 +00:00
Vadim Zeitlin
23d2edff35
fixed an unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:10:49 +00:00
David Webster
9794cae1b3
New native OS/2 list control.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:35:16 +00:00
David Webster
c220541de4
New native OS/2 list control support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:34:02 +00:00
Václav Slavík
730dfeb496
patch 672127: Adds required check for wxUSE_WXHTML_HELP to chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:28:07 +00:00
David Webster
dc259b7926
TRUE not true, FALSE not false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 21:22:43 +00:00
Václav Slavík
cba5a276e4
added wxART_MISSING_IMAGE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 00:31:28 +00:00
Mattia Barbon
a203834e6b
Patch [669508] Define Win32 symbols for CW in platform.h
...
from Igor Mikolic-Torreira
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 10:10:54 +00:00
Mattia Barbon
1bc822dfb5
Derive wxBitmap from wxBitmapBase in wxMotif, with the appropriate
...
changes to wxIcon.
Fix deprecation warnings and use %p to format WXWidget in debug output
(fixes the 4 non-deprecation warnings).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 09:52:29 +00:00
Mattia Barbon
fd304d989b
Fix some wxMotif build warnings about deprecated methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 13:01:17 +00:00
Vadim Zeitlin
ec0d6da38d
attempts to fix vsnprintf() detection under HP-UX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 02:33:13 +00:00
Vadim Zeitlin
1b80ba97f3
fixed resource leak in MemoryHDC (closes bug 670016)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 01:51:05 +00:00
Václav Slavík
4aa3178674
why the heck should something that reacts on wxID_CLOSE be called OnQuit?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:03:59 +00:00
Václav Slavík
0894707e7c
added wxFileName::MakeAbsolute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:01:18 +00:00
Mattia Barbon
d66dcb6022
Under Cygwin, in platform.h default to wxMSW unless otherwise specified.
...
Do not #define __WIN95__, __WINDOWS__, __WXMSW__ on the command line for
Cygwin/MinGW (when build with makefiles), since platform.h already does
that for us.
Always check for __WIN32__, not for WIN32 or _WIN32 (just for
consistency).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 20:01:20 +00:00
Vadim Zeitlin
b448f30e9c
Borland apparently uses for int64 in printf(), not
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 13:27:20 +00:00
Stefan Csomor
9f67b77690
include needed for CFString conversion routines (param default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:27:48 +00:00
Stefan Csomor
ac17f9b104
Get/SetNoAntiAliasing implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:24:59 +00:00
Mattia Barbon
0ec6fd04eb
Remove calls to a couple of deprecated methods, fix wxMotif build with
...
GCC 3.2, remove deprecated (and unused) fstream.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:44:47 +00:00
Mattia Barbon
46675b4610
Implement vertical toolbar under Motif.
...
Notify parent frame when toolbar is moved/resized/added/deleted so that
frame childs can be correctly repositioned.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:41:07 +00:00
Julian Smart
d9b21c9f47
ReDOS-ified project files
...
Added menubar for wxHTML help viewer on Mac
Added some Mac-specific code for HelpView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 12:26:09 +00:00
Stefan Csomor
ce72eadb4d
renaming because of conflicts with base Create::
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:53:32 +00:00
Václav Slavík
e5db16098c
fix object_ref handling in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:14:27 +00:00
Vadim Zeitlin
134ecc85d0
added WXWIN_COMPATIBILITY_2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 21:15:00 +00:00
Vadim Zeitlin
0b481c72b6
compilation fix for wxUSE_CONSTRAINTS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 19:40:55 +00:00
Mattia Barbon
0cd0d9a5ae
#define HAVE_W32API_H for Cygwin/GCC 3.x, too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 18:29:10 +00:00
Ron Lee
9cbee2ceee
Improved const correctness.
...
Clear wxWindow containing sizer on Remove( index ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:31:37 +00:00
Stefan Csomor
c6a071d2d2
cursor functionality expanded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:17:53 +00:00
Ron Lee
b1d4dd7add
Split this out from other changes to keep things sane..
...
wxDeprecated KeyCode.
wxDeprecated old wxList compat methods.
Replaced a large number of them in the gtk build already, but there are
still plenty more so feel free to help nuke them as you find them.
s/^I/ / and s/TRUE/true/ etc. a couple of these too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 05:17:41 +00:00
Vadim Zeitlin
4c87eb44c2
OpenWatcom compilation fixes (patch 665959)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:40:48 +00:00
Vadim Zeitlin
b2697d4205
unTABbed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:30:51 +00:00
Vadim Zeitlin
29f82345df
set wxUSE_WIZARD to 1 by default now that it works (patch 663321)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:28:26 +00:00
Vadim Zeitlin
e30285abc6
compilation fixes for non default wxUSE_XXX values (patch 662781)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:20:46 +00:00
Mattia Barbon
0fccfc51e6
Fix linking problems with MSVC 5.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 20:57:16 +00:00
Mattia Barbon
1c1572053a
Fix PCH problems with some versions of CodeWarrior.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 20:55:27 +00:00
Mattia Barbon
a969055e89
Removed unused, unimplemented and undocumented wxBitmapCheckBox stub.
...
Minur cleanup in wxCheckBox::Create.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 14:42:38 +00:00
Stefan Csomor
3d963f8137
added conversion function to CFStringRefs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:56:48 +00:00
Stefan Csomor
67e3d9d399
removed commented out snippets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:54:27 +00:00
Vadim Zeitlin
82c23bb595
removed TABs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:52:17 +00:00
Vadim Zeitlin
1ec5cbf3de
removed wxLog::HasPendingMessages() (it can't be made to work correctly with wxLogChain); don't send the messages going to a log file to debug output under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:47:14 +00:00
Vadim Zeitlin
6dd16e4f26
removed style parameter from MSWCreate(), it is unneeded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:27:17 +00:00
Vadim Zeitlin
29020b9048
use MSWCreateControl() instead of duplicating its code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:24:44 +00:00
Vadim Zeitlin
278c927dd9
removed style parameter from MSWCreateToolbar(), it is unneeded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:23:49 +00:00
Vadim Zeitlin
79f306d721
removed unneeded code which was inside #if 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:33:11 +00:00
Vadim Zeitlin
381adb7449
#undef LoadBitmap() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:27:28 +00:00
Vadim Zeitlin
90b1d65f2f
define true/false if the compiler doesn't have them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 22:29:59 +00:00
Julian Smart
b4da152ea3
Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Václav Slavík
ddbfcced85
removed wxTLW cruft now that all ports have it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:03:56 +00:00
Julian Smart
5283098e13
Applied patch [ 662321 ] Port of wxWindows to Wine
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 13:49:08 +00:00
Ron Lee
12a3f2275c
Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
...
Made wxSizer child list typesafe. I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..
Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.
Added {G,S}etSpacer consistent with the accessors for windows/sizers.
Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them. Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.
s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}
Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.
removed pointless private scoping around DECLARE_CLASS macros.
Replace 0's I added previously with NULL -- not like that will end the
email thread either..
Added Add( wxSizerItem * ) & co. There are probably a couple of other
places we can usefully do something like this too. Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.
Updated wxSizer docs some more, they are still incomplete but getting
better.
wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode. There may be a few left for other ports.
Fixed a couple of other random compile warnings along the way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Vadim Zeitlin
5e2411ab49
fixed the return type of LoadIcon()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 22:46:53 +00:00
Mattia Barbon
0de6dfa701
Implemented wxToplevelWindowMotif. (forgot to commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 20:54:54 +00:00
David Webster
57ff8a875b
no message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 17:42:48 +00:00
Mattia Barbon
798a4529fe
Implemented wxToplevelWindowMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:36:23 +00:00
Vadim Zeitlin
8b39c006d8
#undef LoadIcon() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:11:24 +00:00
Václav Slavík
8166ab4343
added more robust wxTLW::ShowFullScreen implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 23:34:34 +00:00
Václav Slavík
7071c92817
gcc has __attribute__((deprecated)) since version 3.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 13:29:36 +00:00
Mattia Barbon
e9e4acc519
Remove #ifdef __WXSTUBS__ from headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 09:22:53 +00:00
Ron Lee
6c99908c51
The exact version it was included doesn't appear to be documented
...
anywhere, but __attribute__ ((deprecated)) is empirically not
supported by gcc-2.95.4. Best guess so far is 3.0 or 3.1 so I've
erred on the side of the former for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 20:52:10 +00:00
Julian Smart
c3a6a2bc10
Only enable tooltips on WIN32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 13:40:43 +00:00
Julian Smart
c8f9a56b7c
wxUSE_TOOLTIPs => 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:53:33 +00:00
Julian Smart
d4e5272b3a
Applied patch [ 652336 ] Add tooltip support to wxUniv on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:14:59 +00:00
Vadim Zeitlin
478d4ab7cf
IsStandard() shouldn't return TRUE for formats >= wxDF_PRIVATE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 01:04:16 +00:00
Vadim Zeitlin
3e6562c110
argh, erased one extra line accidentally in the last commit -- restored
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:59:09 +00:00
Vadim Zeitlin
59018c74fe
wx(Individual)LayoutConstraints may be copied
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:55:28 +00:00
Vadim Zeitlin
00e7a427a0
compilation fixes after applying DECLARE_NO_COPY_CLASS() patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:46:08 +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
Vadim Zeitlin
0becd47010
support for using DIBs for wxBitmap implementation (patch 649866)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:28:56 +00:00
Václav Slavík
c75274f93c
added wxDEPRECATED
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:52:47 +00:00
Václav Slavík
b254d1fe03
mark wxImage's wxBitmap functions as deprecated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:49:50 +00:00
Vadim Zeitlin
93401be962
added operator==() and !=() for wxDateSpan
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:07:51 +00:00
Vadim Zeitlin
6770762dd3
set wxListItem mask automatically to the correct value when a SetXXX() method is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 20:59:40 +00:00
Vadim Zeitlin
a562f4fbde
removed a couple of obsolete functions from wxDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:39:32 +00:00
Vadim Zeitlin
9112af3fd1
fix for HAVE_EXPLICIT for VC++ 6.0 (closes bug 651314)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:58:53 +00:00
Robin Dunn
65ca8c0b79
Changed wxLOG_Max to be a smaller (but still large) value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:50:02 +00:00
Vadim Zeitlin
a8dade3e27
added IsEmpty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:09:41 +00:00
Robin Dunn
edc738528a
Added wxLog::Get/SetLogLevel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:16:07 +00:00
Ron Lee
96fdbb60f1
Ok, so we don't need the extra bool at all, we can just zero the sizer
...
pointer in wxSizerItem. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 15:26:47 +00:00
Ron Lee
00976fe56b
Add wxSizer::Detach so we can detach child sizers without deletion.
...
Updated wxSizer docs for this and a couple of other missing/outdated
things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 13:02:15 +00:00
Mattia Barbon
e13f128877
Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"
...
without requiring setup.h modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 19:37:10 +00:00
Ron Lee
a8853c78ed
Oops, don't cut and paste between ports, and do test compile both states
...
of a macro guard...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 15:45:35 +00:00
Ron Lee
99006e446e
Added wxTreeCtrl::GetItemParent to deprecate GetParent.
...
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.
Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.
Updated docs to suit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Vadim Zeitlin
01a4679360
fixed wxALL_FILES definition in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 01:38:49 +00:00
Julian Smart
317246dfcb
Applied patch [ 658786 ] Removes unresolved symbols from strconv (wxUniv/MSW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:59:35 +00:00
Julian Smart
f9eee2db81
Applied patch [ 657969 ] Removes #if wxUSE_VALIDATORS code
...
for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:52:14 +00:00
Mattia Barbon
99ab3e3f56
Use wxClientDataDictionary for client data.
...
Factored out common code into wxSizeKeeper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 18:41:42 +00:00
Vadim Zeitlin
b74cce40fd
handle accel keys for owner drawn menu items (based on the patch 657105)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 15:01:21 +00:00
Vadim Zeitlin
46a5e01e86
use SS_CENTERIMAGE to prevent wxStaticBitmap from stretching its bitmap; also a face lift for control creation code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 14:35:18 +00:00
Václav Slavík
5dac8a3b0e
fixed 2 encoding handling bugs in XRC/wxrcedit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:35:13 +00:00
Václav Slavík
437bd21582
WX_XMLRES_CURRENT_VERSION_STRING wasn't Unicode safe
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 00:21:23 +00:00
Julian Smart
d863ed8333
Cleaned up SetMenuStrings, factoring out redo and undo label accessors at the same time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 10:15:06 +00:00
Julian Smart
cd501207cf
Applied patch [ 654877 ] Missing == != methods in wxRect2DInt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:02:24 +00:00
Robin Dunn
4a69b0600a
Added missing #if wxUSE_WAVE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 21:26:21 +00:00
Robin Dunn
b829bf55a0
Give wxSafeYield an onlyIfNeeded parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:58:36 +00:00
Julian Smart
1bd71df911
Fixed missing checkbox alignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:34:06 +00:00
Julian Smart
7d1dcec23a
Applied [ 652962 ] wxProgressDialog::Show(FALSE) bug
...
This fixes the problem where the application windows
were not being enabled prior to the progress dialog
being hidden in the situation where wxPD_AUTO_HIDE
was not used or was used but the end count was never
reached. This causes random applications to be
activated and brought to the front on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:57:48 +00:00
Julian Smart
ea5ef76f07
Applied patch [ 652894 ] Checklistbox doesn't need owner draw
...
Updated wxUniv readme about setup[0].h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:45:09 +00:00
Julian Smart
62e819ee45
Removed redundant wxUniv setup.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:29:03 +00:00
Julian Smart
aab49a0b6a
Applied patch [ 654023 ] Enables HtmlHelp (native)
...
Also fixed the bad event table in helpfrm.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:22:08 +00:00
Julian Smart
b657b4c986
Added missing SetOrientation accessor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 09:29:02 +00:00
Mattia Barbon
c17ba76f38
Unicode compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:28:26 +00:00
Chris Elliott
099d4217df
fix for wxUniversal on win32 platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 15:10:23 +00:00
Julian Smart
fbb1226068
Applied patch [ 651287 ] adds missing wxTreeCtrl::GetEditControl
...
This patch implements a missing member in the generic
version of the wxTreeCtrl. The GetEditControl member is
currently not implemented in the generic tree control
used by wxGTK. This patch implements the feature by
1. adding a pointer to the wxTextTreeControl as a
member (m_textCtrl) of the wxGenericTreeCtrl class
2. making sure pointer was initialized to 0
3. using the member variable instead of the stack
variable in the wxGenericTreeCtrl::Edit member
4. making sure the new wxGenericTreeCtrl class
member is set to 0 when the control is set up for
deletion in Finish by calling a new protected member
(ResetTextControl) of the wxGenericTreeCtrl class.
These modification were discussed on the wx-dev list
under the "wxGTK - wxTreeCtrl::GetEditControl status?"
subject.
I have tested, but I certainly welcome comments and
further testing.
Pete Stieber
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 09:08:46 +00:00
Julian Smart
dda4f6c089
Applied patch [ 651640 ] Toolbar sizing fix
...
This patch fixes the problem discussed on wx-dev
mailing list. (Message title "wxUniversal: How is the
parent notified when a child changes its size")
In short:
- This patch makes sure the toolbar notifies the parent of
any size change, this will give the parent the opportunity
to resize the frame client size and to make sure the
toolbar is in the right place.
Hans Van Leemputten
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:41:31 +00:00
Julian Smart
368c9c6d84
Applied some of patch [ 650957 ] wxWinCE diff-0.0.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 12:13:25 +00:00
Vadim Zeitlin
07243717e2
tried to clean strdup() mess: we now have wxStrdup[AW] which should be always available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 00:43:28 +00:00
Václav Slavík
f3d3a0e751
forgot to add wxHtmlHelpController::AddBook(wxFileName) to the headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:05:56 +00:00
Mattia Barbon
2d6c58d653
The size_type typedef must be public.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:08:12 +00:00
Julian Smart
3434b611aa
Reverted the _n__ fix for now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:35:09 +00:00
Julian Smart
1e702ab351
The wxMAKE_UNIQUE_ASSERT_NAME fix for VC++ does not work for MetroWerks CW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:20:06 +00:00
Julian Smart
73145b0ed1
Applied patches by Scott Pleiter:
...
[ 643866 ] small wxGrid API changes
adds GetValue to the gridcelleditors to facilitate
querying values from the editors, also changes several
methods to virtuals to simplify inheritance.
[ 643867 ] wxGrid cell LNF & behaviour patch
Enables the grid to render its cells grey when the grid
control is disabled. Also fixes several problems when
making the gridcelleditors visible. Improves the layout
of multi-line row/column labels. Changes the CellEditor
show from a MOUSE_DOWN to a MOUSE_UP, this
stops the editor starting when creating a selection
beginging in the currently selected cell.
[ 643868 ] wxGrid rendering tweaks, improves look.
Draw the row/column using system colours. Change the
default wxGrid settings to have a more neutral starting
point - grey lines, non-bold label font, black/white
selection etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:14:04 +00:00
Julian Smart
552a0ebdb2
Small WinCE mods from Marco
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:01:50 +00:00
Julian Smart
df41317113
Applied patch [ 649590 ] fixes bug 611264: wxFileDialog entry
...
In bug 611264 I reported that typing a filename into a
multiple selection file dialog failed. The file
returned was "..".
I discovered that this was because the previous
directory folder came up automatically selected when
the dialog was created. Then, I discovered a related
bug. If any file or folder was selected, then that was
the file which was returned regardless of what was
typed in.
To fix the problem I added an EVT_TEXT handler which
deselects everything that is selected when the user
types. The handler does not deselect anything unless
the user actually types something.
This patch implements the fix.
John Skiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:44:13 +00:00
Julian Smart
1d30a0a132
Applied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED
...
Restore the wxWizard wxEVT_WIZARD_FINISHED
event, which was sent when the FINISHED button was
pressed and the wizard was finished. When the
wxWizard is modal this event is not needed. However,
when the wizard is non-modal this is the only way to
determine that the wizard has finished.
Scott Pleiter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:16 +00:00
Julian Smart
5c6bd4a957
Added missing AddBook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:15:22 +00:00
Václav Slavík
9548c49a6a
modifications to URL<->filename conversion: take wxFileName, rename
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:28:12 +00:00
Mattia Barbon
ec75d791f0
Refactored & cleaned up wxChoice & wxComboBox code, fixed client data
...
handling, implemented wxControlWIthItems' methods correctly, fixed a
couple of other bugs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:48:05 +00:00
Mattia Barbon
21b273736b
Added wxClientDataDictionary, used (in wxMotif ATM) to maintain the
...
association between wxControlWithItems' items and their client data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:43:45 +00:00
Mattia Barbon
5fd588d229
Replaced int with size_t where appropriate, added WXDLLEXPORT, corrected
...
a bug in RemoveAt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:38:46 +00:00
Roger Gammans
f24badde9a
new member functio of wxDbColInfo to allow two step creation , to be
...
descibed in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 16:04:36 +00:00
Vadim Zeitlin
53c9228ead
always declare wxAppInitializerFunction() as returning wxApp, whether we use gcc or not
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 23:58:13 +00:00
Robert Roebling
0e0126c220
Various compile fixes for WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:41:13 +00:00
Julian Smart
1b6f93fcfe
Corrected line endings, deps now relative
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:31:02 +00:00
Robert Roebling
158b668823
Platform define for wxWinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 12:36:03 +00:00
Vadim Zeitlin
dac7d53a83
added semicolons after HASH_MAP macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:28:02 +00:00
Vadim Zeitlin
d86939c4c9
removed trailing semicolons at the end of HASH_MAP macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:30:47 +00:00
Julian Smart
409e38cd65
Applied fix for VC++ 7 which treats __LINE__ slightly differently, apparently.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 22:49:58 +00:00
Vadim Zeitlin
61ecf6d34f
fix typo in drawing slider ticks; added assert to check for it (slightly modified patch 646256)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:02:50 +00:00
Julian Smart
1a4fe894fe
Added Marco's first WinCE files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 21:18:30 +00:00
Julian Smart
c31752dadf
Updated version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:08:08 +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
01cb1c2617
added ctor taking wxFontFlags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-02 23:58:52 +00:00
David Webster
923b48fc63
virtual function hiding problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:54:25 +00:00
Václav Slavík
799cea0031
fixed two-step creation of wxCheckListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:07:32 +00:00
David Webster
92ac4cdc8c
Make OS/2 use the generic MDI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:18:59 +00:00
Vadim Zeitlin
2499871095
recreate the toolbar entirely when its text/icons style changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:36:18 +00:00
David Webster
b7282ad267
TRUE not true; FALSE not false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:09:52 +00:00
Václav Slavík
4356ee76a5
another fix for wxSnprintf_
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 23:22:30 +00:00
Robert Roebling
47dc9f7871
Further backward comp. changes for printing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 22:00:45 +00:00
Mattia Barbon
79668caec9
Fixed MinGW/configure/Unicode compilation: MinGW/MSVCRT vswprintf does not
...
behave like other vswprintf; under Win32 you really want _vsnwprintf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:23:36 +00:00
Julian Smart
fe5de1ea10
Applied patch [ 608370 ] fix for static text sizing behaviour
...
wxStaticText is meant to resize when SetLabel is called
unless the flag wxST_NO_AUTORESIZE is used when
creating it. Motif currently ignores this flag and always
resizes the control.
The attached patch provides a wxStaticText specific
override of SetLabel() which honours the resize policy
requested via the wxST_NO_AUTORESIZE flag.
I have tested on AIX 4.3 which is Motif 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 13:17:12 +00:00
Vadim Zeitlin
307b0b97ee
undid previous commit, the person who reported it retracted his claim
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:15:51 +00:00
Vadim Zeitlin
8a646b6b9f
include stddef.h to get ptrdiff_t decl (IRIX compilation problem)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 19:59:04 +00:00
Vadim Zeitlin
58071ea008
fix for cygwin warning in winsock.h about sys/types.h from Dimitri
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:48:55 +00:00
Vadim Zeitlin
66bd58e8a6
gtk2 Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:29:22 +00:00
Robert Roebling
009a066588
Readded deprec. constructor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 22:03:29 +00:00
Julian Smart
6886fcfafe
Applied [ 585322 ] motif border style fix for statictext
...
Applied fix to broken wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 19:25:00 +00:00
Robin Dunn
f114b8580b
Update to Scintilla 1.48
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:07 +00:00
Vadim Zeitlin
6ba7c06eee
declare wxEntry() as taking char **Argv, not char *argv[]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 17:35:07 +00:00
Vadim Zeitlin
66ee25523a
fixed ATTRIBUTE_PRINTFs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 12:55:25 +00:00
Vadim Zeitlin
69429a166f
compilation fix for cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 11:54:47 +00:00
David Webster
db16e5c3aa
Bitmap button updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 03:08:12 +00:00
Vadim Zeitlin
cabf185cd2
define HAVE_EXPLICIT for BC++ >= 0x520
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:55:37 +00:00
Julian Smart
eaeeb91eb6
Added LV_ITEMA and used a #define for LV_ITEM to
...
avoid mysterious compilo under Mingw32 2.95.2
Added #defines for SHGetFileInfo for Mingw32 2.95.2
in volume.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:28:15 +00:00
Vadim Zeitlin
57e6713594
char -> wxChar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:48 +00:00
Vadim Zeitlin
7e92d86d78
don't #define wxStrtok() which takes 3 arguments as wcstok() which takes only 2, this can't compile in Unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:47:56 +00:00
Vadim Zeitlin
14f8fa9d7f
added wxLocale::GetLanguageInfo()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 22:53:04 +00:00
Stefan Neis
a66a391e70
Changed second parameter of Refresh to "const wxRect*".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:09:55 +00:00
Vadim Zeitlin
9cedab372e
made SetDirectory() work, minor code cleanup (much is left to do)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:45 +00:00
Stefan Neis
aa5b885706
Commited John Labenski's patch giving access to the low level selection
...
representation (Patch 579754).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 13:58:25 +00:00
Gilles Depeyrot
ab7ce33c56
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@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +00:00
Robin Dunn
a834585d74
Updated to Scintilla from 1.45 to 1.47
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:59:31 +00:00
Julian Smart
dd23c25cde
Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent
...
Benjamin I. Williams
Currently there is no way of receiving notification
that a user cancelled an edit operation on a wxTreeCtrl
tree node label.
This patch adds a method "IsEditCancelled" to the
wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT
event, the programmer can now determine whether or not
the edit operation was cancelled by the user (by
pressing <ESC>).
This patch provides this implementation for both
wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both
situations have been tested and work well.
The patch is not very invasive, and is much smaller
than I had expected.
Please see the relevent discussion on the wx-dev list
for more details.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:50:41 +00:00
Robin Dunn
db54b04615
Added some accessors for wxEffects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:37:25 +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