Commit Graph

4928 Commits

Author SHA1 Message Date
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
Julian Smart
2385ec429a Added #include <ctype.h> since it seems to have
gone missing from this file for non-Unicode
cases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 14:56:34 +00:00
Stefan Csomor
1b2a04da9a corrected code for doubles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:42:16 +00:00
Václav Slavík
c601df457c compilation fix for wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:17:09 +00:00
Mattia Barbon
b8ddac49a3 Missing #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 16:42:53 +00:00
Vadim Zeitlin
a8ddb18623 should fix Unicode build for BC++ 5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:06:46 +00:00
Vadim Zeitlin
8161b5b9f0 fix wxCheckListBox which was completely broken by the Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:45:39 +00:00
Vadim Zeitlin
390015c0ee generic status bar now:
1. works correctly (handles negative widths according to the docs/MSW/Univ)
2. has shorter and simpler GetFieldRect() implementation
3. ... which is also more efficient (pixel widths are cached)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:16:46 +00:00
Chris Elliott
333e110dab move code from .h to .cpp to prevent Borland warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 12:24:45 +00:00
Vadim Zeitlin
a42de1303a fix wxBase apps compilation after ProcessIdle() change from the patch 588734
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:45:06 +00:00
Ron Lee
0e080be64b Added (and documented) GetTraceMasks so userspace can probe the currently
allowed masks.  IMO its omission is a bug and it's non-threatening to
the freeze, so..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 09:35:13 +00:00
David Webster
f5ea767eb8 More OS/2 update to fix some owner drawn things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 22:26:53 +00:00
Julian Smart
d38e8d5f34 Changed char* to wxChar*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 11:22:56 +00:00
David Webster
1de4baa31f Notebook, Listbox, and Checklst updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:47:39 +00:00
Gilles Depeyrot
1bfec677b1 avoid warning for duplicate defined wxEntry when compiling with the Apple
Developer Tools (already defined in common include)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:17:52 +00:00
Gilles Depeyrot
57530dba85 use "..." for wx includes instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:16:32 +00:00
Gilles Depeyrot
7b108a5e8c 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@16940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:15:40 +00:00
Vadim Zeitlin
59571fc076 include the header needed to compile this file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 18:10:39 +00:00
Vadim Zeitlin
7ccb2521a6 updated the comment about the flags meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:18:25 +00:00
Julian Smart
b814b81248 Committed a couple of IPC changes I forgot to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:30:52 +00:00
Vadim Zeitlin
a543e3ce7e choose implicit parent for the dialog boxes better, fixes weird focus jumps when using wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:44:24 +00:00
Vadim Zeitlin
ae3047441e added a few WXDLLEXPORTS, corrected/expanded comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:32:30 +00:00
Gilles Depeyrot
a811affe70 added wxSpinCtrl::SetSelection method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 21:29:40 +00:00
Vadim Zeitlin
14bc59a252 another part of SetSelection() change I forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:24:25 +00:00
Václav Slavík
74c107ba48 fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:11:38 +00:00
Stefan Neis
8403515064 Added some const qualifiers.
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by
        DisplaySize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:27:26 +00:00
Julian Smart
f010ad4812 Applied patch [ 600051 ] DDE and TCP improvements and fixes
By Michael Fielding

As discussed on wx-dev. some fixes and improvements for Interprocess Communication (IPC), using DDE and TCP.

1. DDE buffers were using a global buffer
2. TCP buffers were allocated each time needed, and Request would have caused memory leaks had it been used.

Fixed these both by using a self-resizing buffer in wxConnectionBase. Changed samples and docs to reflect the improved (but backward compatible) internal buffer management. wxConnectionBase could (in future) use wxMemoryBuffer.

3. IPC sample had trouble closing, causing crash, when closing server using window X button.

Because it was (effectively) trying to delete a window in OnExit, when that window was already destroyed. Fixed by making IPCDialog and MyConnection remember if they'd destroyed each other. It's not elegant, but either the connection or the window could be deleted first.

4. Docs for wxDDE... and wxTCP... duplicated eachother, supposed to have same API. Some parts unclear.

Patch removes dde and tcp-specific files (including from tipc.tex and classes.tex), and explains how ipc.h selects for you which one to use based on platform. Some other misc clarifications.

6. Client sample was suffering apparent memory leak because of not deleting connection object, and had a hack in there to do that.

In fact this was due to the derived OnDisconnect not deleting itself, as it does in base class. Mentioned need to do it in docs, fixed sample so that it does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 14:48:16 +00:00
Vadim Zeitlin
739555e321 SetSelection() for generic wxSpinCtrl (forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:52:24 +00:00
Stefan Neis
27f35b6674 Make use of new array functions.
Added redraw function (by Roger Gammans).
Added Cell overflow & multiple cells (Patch 518206).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:42:29 +00:00
Julian Smart
70373b5a57 Applied patch [ 600500 ] Tip-of-day: comments, translatable
By Robert O'Connor

This is a patch to wxTip Provider classes used by the "Tip of the day" dialog.

See wx-dev archives August 2002 for discussion of the functionality design.

It does 5 things:
-Support for comments inside the tips file. The pound character (#) is used, as recommended by Vadim.
-Allows optional easy translation support to tips, by marking them as translatable for gettext, by enclosing them in a _(""). Program will translate these tips at runtime from the active catalog.
-Blank lines or lines with just spaces are automatically skipped (I had to put this in, I keep wondering why I get blank tips sometimes and it is because the text file had a empty blank line at the end of the text file).
-There is a pluggable virtual function to preprocess to modify the tip in a derived class, in case something specialized is desired, such as variable expansion, etc, as recommended by Julian and Vadim.
-Now resets the tip counter if the previous tip is past the end of the file (ie you removed some tips, or changed tip files), as discussed on wx-dev.

This patch updates:
-The classes.
-The class documentation and the Tip-of-the-day topic overview documentation.
-The dialogs example, placing some new strings for the tips.txt file which demonstrate how to use the Tip-of-the-day features for in practice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:08:02 +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
Julian Smart
5cf69f76a1 Added RTTI macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:14:30 +00:00
David Webster
018d3030cc Weekly update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:20:42 +00:00
Julian Smart
3bce6687f4 Mods for Wine compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
David Webster
f289196b3a Lots of updates fixing radiobox processing, checkboxes and add notebook control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:37:52 +00:00
Vadim Zeitlin
07901ec945 added wxSpinCtrl::SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 01:00:04 +00:00
Vadim Zeitlin
a69be60b0f removed wxApp::DoInit(); added wxApp::CreateMessageOutput(); fixed wxMsgOutput memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:58:34 +00:00
Vadim Zeitlin
98020767fd removed extra trailing semicolons which break compilation for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:39:33 +00:00
Vadim Zeitlin
d7cbabe039 disable children when the parent is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:34:08 +00:00
Vadim Zeitlin
0493ba1399 changed wxExecute(char **) version to take wxChar **
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:54:39 +00:00
Vadim Zeitlin
0ca5105b34 don't crash in wx(Flex)GridSizer with division by 0, assert instead; also factored out a lot of duplicated code in a single function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:48:32 +00:00
Julian Smart
f9ceab7ce6 Ditribution script mods;
Use wxImageList instead of wxGenericImageList where possible
in wxListCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:54:00 +00:00
Vadim Zeitlin
96d7977711 apparently CW always has vsnprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 19:04:42 +00:00
Vadim Zeitlin
ef66935925 my previous backwards compatible fix wasn't really very compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 15:37:54 +00:00
Stefan Csomor
0624ce56d8 fixed miscasing in GetOutCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 15:14:57 +00:00
Vadim Zeitlin
81764280af compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:26:30 +00:00
Vadim Zeitlin
750cefbca2 deprecated static wxWizard::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:17:36 +00:00
Vadim Zeitlin
d4ea46dbad (blind) fix for BC++ compilation problem with wxPutc() redefinition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 08:56:50 +00:00
Vadim Zeitlin
768f1af6a2 added extra parentheses to wxDynamicCast() to allow using it like wxDynamicCast(foo, Foo)->DoFoo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:58:53 +00:00
Stefan Csomor
93e5d8999f added forcing to image conversion to always attempt a color icon (needed eg for menus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 21:02:39 +00:00
Vadim Zeitlin
129db666f1 Windows compilation fixes after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 19:03:06 +00:00
Stefan Neis
64a1d923e6 HWND already typedef'ed when compiling with EMX (OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:25:21 +00:00
Stefan Neis
6502915206 protected to restrictive for compiling with EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:24:18 +00:00
Stefan Neis
28ff8c8f9e Added __WXPM__ specific include, so it also compiles without pre-compiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:22:48 +00:00
Stefan Neis
a2cd9b8641 Update to current API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:54 +00:00
Gilles Depeyrot
c016649521 BSD systems define _T to something different in ctype.h, therefore include
ctype.h before overriding _T


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:46 +00:00
Stefan Neis
063807f6c3 Added an include to timer.h (needed for non-precompiled headers).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:22 +00:00
Stefan Neis
8d8bd9bf15 Added the usual GNU pragma.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:17:54 +00:00
Vadim Zeitlin
e93e5b0bb6 use wxWcslen() instead of wcslen() which isn't always available in wxWCharBuffer; do accept NULL in wx[W]CharBuffer ctor as the code elsewhere uses this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:14:51 +00:00
Vadim Zeitlin
f6f5941be5 reorganized, improved and hopefully simplified wxchar.h and printf() functions handling; also added wxWcslen() to fix wcslen() problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:13:44 +00:00
Stefan Csomor
2072fbbbc9 added new default handlers for open/print events, removing the need for using private headers in the specific application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 22:04:04 +00:00
Vadim Zeitlin
44893b87ab added wxCHECK_GCC_VERSION() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:28:48 +00:00
Robin Dunn
ec53826c06 Fixed wxGridCellFloatEditor::Clone
Changed wxGridCellEditor::GetString to use %f instead of %g to match
the Renderer, otherwise it would truncate/round the value to
m_precision significant digits instead of m_precision digits after the
decimal point.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:03:42 +00:00
Julian Smart
c33c81c30f wxChoice derives from wxChoiceBase; renamed Append to DoAppend
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 10:54:15 +00:00
Gilles Depeyrot
0326d9689e opaque toolbox structs under Classic break access to contrlDefProc
the default value is fine for Classic & Carbon unless __WXDEBUG__ is defined


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 06:55:46 +00:00
Robin Dunn
92e898b0b4 Added generic LoadObject methods that can load any classtype from a
resources and return it as a wxObject (Assuming there is a handler for
it.)

Enabled wxFrames and wxDialogs to be loaded using a new instance
rather than only with existing instances.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:26:13 +00:00
Vadim Zeitlin
74ee96987a compilation fix for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 19:53:25 +00:00
Stefan Csomor
26bea6ac6d added wxSIZE_T.. defines (every release of CW has a different typedef but I hope they all end up as unsigned long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 12:41:01 +00:00
Ron Lee
fdb599058d Updates for 2.3.3 debs.
Typo fix for start of local event id's.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:33:12 +00:00
Vadim Zeitlin
7fb1b2b4c4 fixed default button handling: don't keep BS_DEFPUSHBUTTON style when the app loses focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 20:34:29 +00:00
Vadim Zeitlin
5036ea9074 send event from Clear() for a simple text control, send only one event from SetValue() instead of 2 for a rich one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:16 +00:00
Vadim Zeitlin
a4f25aef35 made wxFrame::SendSizeEvent() public and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:03:38 +00:00
Vadim Zeitlin
2eb4c3aabe reverted patch 598016 (removed MSWCreateControl() visible parameter)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 16:00:45 +00:00
Julian Smart
c832ef4985 Applied patch [ 598016 ] remove flicker during combo box creation
By Benjamin I. Williams (biwillia76)

The attached patch completely fixes the flicker problem when
creating combo boxes.  It also will make it elementary to
remove flicker during the creation of other controls
(although all the other controls are flicker free, AFAIK).
It does this by adding an optional 'visible' parameter to
the internal MSWCreateControl method, whereby the caller can
create a control invisibly by default, perform some
complicated sizing calculations, and then finally show the
control before the Create finished.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 09:41:05 +00:00
David Webster
1b75810c8d Font updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 01:02:37 +00:00
Stefan Csomor
17e504023d I think this is now defined in the common accel.h, I'll remove it if no build complains...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:08:29 +00:00
David Webster
25fc812c74 File dialog fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 04:12:31 +00:00
Vadim Zeitlin
15c3723c60 added wxCheckListBox::HitTest() (modified patch 594524)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:55:32 +00:00
Vadim Zeitlin
411165f3f4 added and documented wxProcess::Is{Input|Error}Available() and IsInputOpened
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:20 +00:00
Václav Slavík
6ada5c3359 yet another variation on the same theme: wxMAKE_ART_ID_FROM_STR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:54 +00:00
Václav Slavík
7a442f311a minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:24 +00:00
Julian Smart
c9b3918ae4 OpenGL off by default on Mac, correct scripts to
copy setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:38:05 +00:00
Julian Smart
131f9d9b19 Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW
Proposed fixes for the wxWindows joystick code under
MSW.
Some of these would be valid for other platforms, too.

Events for buttons are named wrong, docs say different.
Docs say EVT_JOY_BUTTON_DOWN and
EVT_JOY_BUTTON_UP,
but the code says EVT_JOY_DOWN and EVT_JOY_UP. I
suggest
changing the code to match the docs.

wxJoystick::GetNumberJoysticks() should be a static
member
function. Having to create a joystick object to see if there
are joysticks is silly.

Docs for GetNumberJoysticks() must be changed; it returns
the
number of potentially connected joysticks, not the number of
actually connected. Alternatively, GetNumberJoysticks() and
others must be rewritten to conform with documentation,
including
remapping of wxWindows sequential joystick ID's to match
MSW non-sequential joystick ID's.

dwSize is not set when joyGetPosEx() is called. SEVERE
ERROR.

Error return value from functions should not be a legal
return,
for instance, wxJoystick::GetPOVCTSPosition() returns 0
for error,
but this is a legal return value.

GetButtonState() supports only four (out of 32) buttons.
Also, should return as bitmap (LSB = button 1). (Win32
does this,
although not documented as such).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:05 +00:00
Vadim Zeitlin
e015c2a31f rewrote wxString::To/FromAscii() to fix a few small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:09:27 +00:00
Vadim Zeitlin
c12ef8a2e8 don't initialize m_str twice in wxCharBuffer ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:24 +00:00
Vadim Zeitlin
8dce54c9e6 added support for wxCONFIG_USE_NO_ESCAPE_CHARACTERS flag to wxFileConfig (patch 591381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:29:22 +00:00
Vadim Zeitlin
fb96947585 fixed m_relative initialization in wxFileName default ctor and Clear() (patch 597736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:28:51 +00:00
Vadim Zeitlin
e9bb94cf4a removed extra semi colon which provoked CW warnings (replaces patch 596658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:21:02 +00:00
Vadim Zeitlin
f92c90eb3a removed extra semi colon which provoked CW warnings (part of patch 596658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:19:33 +00:00
Julian Smart
6c70a9b594 Added generic MDI files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:27:29 +00:00
Julian Smart
b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
David Webster
b93f4bb9da FileDlg updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 05:00:48 +00:00
Robert Roebling
ca11abde11 Lots more Unicode fixes.
wxClipboard fixes for GTK2 and UTF8.
  wxFileConfig now uses wxConvLocal to convert text
    and doesn't crash anymore..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 17:02:10 +00:00
Julian Smart
1241ab8ba0 Added EVT_JOY_BUTTON_... macros as per the manual,
retained the old names for compatibility.
Changed 2.3.2 to 2.3.3 in a couple of files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 16:09:40 +00:00
David Webster
c93f804a15 updates mostly for better font support and some weekly catch-up work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:24:22 +00:00
David Webster
bdc8dd3c89 some OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:23:40 +00:00
David Webster
42d9bd5dc9 need for VisualAge to include wchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:22:46 +00:00
Václav Slavík
4c2afb6fbc make it possible to easily define artID from a string (for XRC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:24:34 +00:00
Robert Roebling
eba330067e Removed all deprecated printing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Robert Roebling
6d60815d74 Convert %s to %ls and %c to %lc in printf and scanf etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:09:48 +00:00
Julian Smart
bf89b538f2 Applied patch [ 596061 ] Adds more navigation buttons to preview
By Juergen Geltinger (jgelti)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 16:18:28 +00:00
Julian Smart
9f4de2dcf8 Applied patch [ 566816 ] adds xBase type for Sequiter's SQL/ODBC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 12:43:07 +00:00
Julian Smart
af1337b041 Applied [ 594925 ] Implement wxArtProvider and XRC together
By Robert O'Connor (robertoconnor)

This patch is a draft which successfully allows a wxArtProvider to serve out icons to bitmaps for XRC files.

The syntax to use a wxArtProvider bitmap is:
<bitmap stock_id="wxART_INFORMATION" stock_client="wxART_TOOLBAR">somefallbackicon.png</bitmap>

The bitmap is optional, and will only be used as a fallback image, if the wxArtProvider returned a wxNullBitmap for some reason.

The client attribute, if not specified, currently will be wxART_OTHER. Perhaps there should be a guessing heuristic of it being in a menu node to call wxART_MENU.

Usage of XRC resouces and wxArtProvider together can be seen in an updated /contrib/samples/xrc demo, which is a separate patch.

Search the wx-dev mailing lists for "wxArtProvider" and "XRC" for the full discussions on this feature's API design.

Applied patch [ 594932 ] Extended XRC XML resources sample
By Robert O'Connor (robertoconnor)

This is a more comprehensive introduction to how to get up and running using XRC in your new wxWindows project.

It describes both the basics (for new users) and advanced features. It consists of a demo of dialogs and frames loaded from XRC. Each dialog has a textctrl at the top of the dialog, which walks the new user through that feature.

There are 8 demos:

The 4 basic ones:
-A non-derived dialog, as typically used for an about dialog.
-A derived dialog that loads its resources from an XRC (a frequently-asked question on the mailing lists), and responds to some simple events, including the disable-another-control-via-EVT_UPDATE_UI that is another FAQ, and powerful and simple-to-use feature.
-A XRC reference "Controls" dialog, using a notebook. Each tab has a single control. All XRC handled widgets can be seen at a glance, and how to use them under XRC.
-An uncentered dialog, to demonstrate the easy use of <centered>1</centered> to automatically place a Dialog centered on its parent..

The 4 advanced ones:
-Embedding a custom class into an XRC dialog, by using the "unknown" class.
-Using wxArtProvider to use stock icons from within your your XRC resources.
-Using the platform attribute to selectively show a part of XRC based on the current OS.
-Runtime variable expansion (demo only. Not implemented at this time).

Also:
-The main frame is now demonstrated as being loaded as an XRC.
- The toolbar has longhelp tag demonstrated, and are hooked up to the same events as the menu to show how XRCID() works on the same tool and menuitem XRCID.
-Some custom icons for the demonstration were created, and put into the toolbar and menubar. A custom icon also for the demonstration.
-The example code has been put in 1 class per file (both .cpp and a matching .xrc), to make it much less confusing for a newcomer to figure out what class is what, expecially with all the wx macros for declaration and implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:24:46 +00:00
Vadim Zeitlin
df7145da50 change the selection appropriately (and refresh it as needed) after deleting a notebook page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:48:45 +00:00
Vadim Zeitlin
5c36387841 fix for the bug introduced by the last commit: don't quit the program when a standard msg box is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:44:03 +00:00
Robert Roebling
acbeb7b368 strings are now wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:43:00 +00:00
Vadim Zeitlin
1cbee0b42c the app doesn't exit any more if a dialog is shown (and destroyed) while
the flow of control is still in OnInit()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:42:07 +00:00
Vadim Zeitlin
b79a8705e6 added wxList::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 19:38:46 +00:00
Robin Dunn
0b190ffcee Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:06 +00:00
Václav Slavík
db70a2f20a define wxART_* constanst in way that will make adding XRC support easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 20:04:18 +00:00
Stefan Csomor
8095ef23e7 attempt to bring event system in synch with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 18:41:12 +00:00
Stefan Csomor
41d368a4bb separated modifier keys handling in order to distinct key/up down events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 17:09:20 +00:00
Vadim Zeitlin
aa4b7ef978 tidied up patch 583937 (wxClassInfo dtor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 22:37:41 +00:00
Robert Roebling
331a0b6b7a New code for Update() under GTK 2.0. Added
native GdkRegion() constructor to wxRegion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:58:23 +00:00
Stefan Csomor
7e2eb7107d added new method MacSetupCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:17:56 +00:00
Václav Slavík
02a775c98e fixed wxChar definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:39 +00:00
Václav Slavík
98e78a5eb4 fixed another typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:28 +00:00
David Webster
07df68c89a Font fixes for the font dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 23:47:44 +00:00
Julian Smart
9bc138582e Corrected typos for
typedef void (wxEvtHandler::*wxIconizeEventFunction)(wxIconizeEvent&);
typedef void (wxEvtHandler::*wxMaximizeEventFunction)(wxMaximizeEvent&);


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 20:11:01 +00:00
Robert Roebling
b1ac3b56e6 Added wxString::FromAscii() wxString::ToAscii().
Removed wxConvFile, made it a define wxConvLocal.
  Exchanged some wxConvLibc to wxConvLocal calls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 13:09:57 +00:00
Stefan Csomor
43330cc9de OSX fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 20:02:14 +00:00
Václav Slavík
3b5a798153 fixed Julian-introduced typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 14:51:26 +00:00
Robert Roebling
a59c124d06 Implemented the various printf() functions under
Unicode with their GNU libc 2.2 funtions. This
    saves us some unicode<->ansi conversion and we
    no longer need the experimental printf() code
    in string.cpp. I had to implement wxSprintf()
    using wxSnprintf() as the former doesn't exist
    in Unicode GNU libc 2.2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 11:58:15 +00:00
Stefan Csomor
08a88c3368 added control action for redraws (classic only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:37:02 +00:00