Václav Slavík
64f9c10094
fixed wxDateTime::ParseFormat to correctly handle '%x' on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-22 16:48:34 +00:00
Michael Wetherell
851b16b935
Removed dependency on wx/html/forcelnk.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-22 10:41:48 +00:00
Dimitri Schoolwerth
e1e36a3e21
don't create a png alpha image if we don't have to
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-22 00:13:51 +00:00
Julian Smart
5054c9365a
Corrected compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 09:20:42 +00:00
Robert Roebling
e04507df82
Changed wxFopen() calls to use c_str
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 20:50:17 +00:00
Vadim Zeitlin
8067659371
compilation fix for wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 14:38:17 +00:00
Ryan Norton
a6900d1083
use on cocoa without fontmapper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 08:45:29 +00:00
Dimitri Schoolwerth
28d90b8963
minor textual fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:54:32 +00:00
Vadim Zeitlin
b49f58fe12
compilation fix after last patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:45:10 +00:00
Vadim Zeitlin
94ac840b49
oops, fixed crash introduced in last check in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 22:53:22 +00:00
Vadim Zeitlin
a6ed2b09a3
set string length to 0 in AllocBeforeWrite() just to be tidy (replaces patch 1123226)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 22:46:06 +00:00
Vadim Zeitlin
7ff1b620e8
fix (with unknown but apparently beneficial effects) for TAB navigation in radio buttons (patch 1038330)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:58:48 +00:00
Vadim Zeitlin
828f093601
added InitAlpha() (replaces patch 991168)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:51:37 +00:00
Vadim Zeitlin
62d9eab60c
fixed hash collisions in ZIP files (patch 1082026)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:53:49 +00:00
Vadim Zeitlin
f260c476e4
wxCommandProcessor::MarkAsSaved() and IsDirty() added (modified patch 1062556)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:52:08 +00:00
Vadim Zeitlin
07d0abae96
document GetOptionInt() as returning 0 for the options which are not present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:33:38 +00:00
Vadim Zeitlin
fe9308c639
more options for JPEG and TIFF handlers (slightly modified patch 1044470)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:32:29 +00:00
Vadim Zeitlin
3e15dde396
added wxMBConv parameter for wxFFile::ReadAll() and documented it (improved patch 1041642)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:53:04 +00:00
Vadim Zeitlin
407020995e
1. undid the "simplification" of patch 1096066 which resulted in a crash
...
(see this patch discussion)
2. check that all views agree to close before starting to delete them
3. commented the code so that the next poor soul looking at it will know
that deleting a view can delete the document which deletes -- surely
wasn't obvious to me...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 13:45:31 +00:00
Robin Dunn
718903fe64
wxStdButtonSizer Finalise --> Realize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 17:49:03 +00:00
Stefan Csomor
8d3b6b8aa1
alpha support for Scale added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 07:14:07 +00:00
Ryan Norton
179e085f05
wxUSE_XXX related fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:43:47 +00:00
Ryan Norton
83efadb7f3
[ 1123124 ] wxStringBase::Alloc can change string length
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 03:53:56 +00:00
Ryan Norton
859906241d
compile wxFileXXXStream without wxFFileXXXStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 10:42:22 +00:00
Ryan Norton
2d1659cf32
Enable compilation on mac without wxFontMapper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 10:38:45 +00:00
Ryan Norton
c5ceb215a9
gcc doesn't have pragma warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 10:19:31 +00:00
Ryan Norton
c6d60564cb
int argument/unsigned int arg warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 10:17:04 +00:00
Włodzimierz Skiba
c47addef10
wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Dimitri Schoolwerth
00a1d2e004
minor typo fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 19:25:35 +00:00
Julian Smart
94f5392355
Standard dialogs becoming useable on WinCE.
...
Make standard button sizer horizontal on WinCE since
vertically it looks atrocious (app will need to reduce
number of buttons if they don't fit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 15:37:09 +00:00
Włodzimierz Skiba
6058220154
Native PalmOS wxLongLong. Introduction of wxULongLong_t due to 'unsigned' not working on internally typedefed wxLongLong_t (both unsigned wxLongLong_t and wxULongLong_t should work for other platforms). Improvements in wxDatePicker control on PalmOS.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 09:35:31 +00:00
Julian Smart
2d5ba36548
Ignorant WinCE fixes for compile breakage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 22:52:27 +00:00
Robert Roebling
85445d3445
Typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 19:55:39 +00:00
Robert Roebling
2555c77a81
Committed currently disabled code that implements
...
the wxStopWatch based on QueryPerformanceCounter()
I'll do more testing if I can, but here is the code
for other to look at.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 19:50:27 +00:00
Ryan Norton
c08d805c5a
[ 1123256 ] wxString operator+ pre-allocates buffer then throws it away ---- and ---- [ 1123195 ] Avoid double-copy in two wxStringBase functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 19:12:36 +00:00
Włodzimierz Skiba
6a27c749b3
wxDatePicker and wxDateTime for PalmOS. Remove conflict with internal maxDays in PalmOS. #if wxUSE_XXX for limited builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 07:24:37 +00:00
Stefan Csomor
cd0bbd03d7
added alpha channel support to ShrinkBy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 19:29:09 +00:00
Vadim Zeitlin
8ba7c77150
don't duplicate wxItemContainer methods in wxRadioBoxBase, instead extract the common intersection to a new wxItemContainerImmutable class and derive wxRadioBoxBase from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 19:01:17 +00:00
Vadim Zeitlin
c6179a847d
1. added SetSelection() to wxItemContainer and removed its declarations
...
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
ports and defined non virtual SetSelection() overloads in the base class
to avoid virtual functions hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +00:00
Vadim Zeitlin
64fa6f167e
removed multiple duplicate copies (with subtly different behaviour) of SetStringSelection(); left only one of them in wxItemContainer (and another one in wxRadioBoxBase, to be removed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:29:31 +00:00
Vadim Zeitlin
2458d90b1d
changed Remove/InsertDir() parameter type to size_t from int; added RemoveLastDir()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 00:55:27 +00:00
Robert Roebling
878ddad57a
Reapplied patch to change the two scrolled window implementations
...
to no longer clip the last bits as a rounding error. I had to
change GetVirtualSize() as per my mail to devs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 23:44:24 +00:00
Michael Wetherell
0912690b65
Rename wxGetFileType to wxGetFileKind
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 21:53:51 +00:00
Michael Wetherell
9e8e867ff9
Rename wxUSE_ARCSTREAM to wxUSE_ARCHIVE_STREAMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 21:40:48 +00:00
Julian Smart
77b88df26f
Applied patch [ 1120683 ] Fix for wxDateTime::Format() under Windows CE
...
by upcase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 10:15:18 +00:00
Ryan Norton
bc03601097
Cleanup mediaplayer sample a bit - get rid of bad loop/islooped since it has internal state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 02:32:29 +00:00
Vadim Zeitlin
226c11c076
don't translate Win32 structured exceptions into C++ ones (requires always using a special wxEntry for MSW in init.cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 22:31:23 +00:00
Michael Wetherell
3c70014d96
Add wxGetFileType and IsSeekable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 12:39:03 +00:00
Włodzimierz Skiba
2997ca30d6
Use default constructors for wxSize/Point/Rect.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00
Julian Smart
92850d6b2f
Applied patch [ 1117207 ] changed the test for SQL_C_WCHAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 16:31:13 +00:00