Commit Graph

5797 Commits

Author SHA1 Message Date
Vadim Zeitlin
d57d491b9f fix some gcc warnings due to SQLINTEGER not being long under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 14:45:44 +00:00
Vadim Zeitlin
373d466f85 changed last DrawButton() parameter from bool to int to allow for future extensions (patch 1595264)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:34:11 +00:00
Vadim Zeitlin
14ff7a5992 use wxFputs(s) instead of puts(s.mb_str()) to avoid crashes when conversion fails (see bug 1591388)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:52:46 +00:00
Vadim Zeitlin
169147c8be made GetMultiLineTextExtent() const (part of patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:06:56 +00:00
Julian Smart
bade0251e3 Wine fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:35:23 +00:00
Robert Roebling
ac7ad70d4c [ 1590221 ] wxStandardPaths::GetExecutablePath
Required for optimised stackwalker patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Vadim Zeitlin
e10b8ce820 fix the bug with renaming groups leaving wxFileConfig in inconsistent state (closes 705022)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:11:01 +00:00
Michael Wetherell
3c7f37eddb Fixes for wxVsnprintf not always null terminating and not always copying as much
as will fit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:48:50 +00:00
Michael Wetherell
e98d32057d Fix for wxVsnprintf's %n.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:42:42 +00:00
Michael Wetherell
b2c31089c2 Make the function passed to wxStringToIntType a template parameter instead of
assuming its type.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 16:00:44 +00:00
Michael Wetherell
311b04034e Workaround for BCC 5.5/5.5.1 _wopen bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:45:19 +00:00
Vadim Zeitlin
5c6538bcf0 don't check whether wxUSE_MS_HTML_HELP is defined here, this is the job of wx/chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:41:18 +00:00
Vadim Zeitlin
9129836e62 wxArrayString::Alloc() shouldn't clear the array contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 18:52:43 +00:00
Michael Wetherell
91e9bcc905 Restore the max printf arguments to 64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 13:34:13 +00:00
Michael Wetherell
644241e162 Go back to using sprintf instead of swprintf, since it's signature has changed
on Windows. There are quite a few compilers where we don't know which version
the change occurred or will occur, including bcc, gcc, and icc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 01:13:18 +00:00
Michael Wetherell
693bfcafb6 Fix for CreateTempFileName with wxFFile for Windows. Also _open_osfhandle
requires O_BINARY on Borland, and the others don't seem to mind it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 23:48:24 +00:00
Włodzimierz Skiba
e9c2213ed7 Adjustement to OW 1.6-rc2 state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 14:51:52 +00:00
Stefan Csomor
773ccc318e adapting to new inheritance of wxMemoryDC (under MSW only at the moment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:47:20 +00:00
Stefan Csomor
4bae004c61 translate the wxRegion from device to user coordinates, swap angles for the arc drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 08:06:09 +00:00
Robin Dunn
a5bbc20278 Revert reentrancy patch (#1573619)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:22:10 +00:00
Vadim Zeitlin
860a4018b9 preserve pen in DrawCheckMark() (bug 1581621)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 00:51:08 +00:00
Vadim Zeitlin
7b2d1c74fe include wx/datetime.h and test for wxUSE_DATETIME before using wxLocaltime_r()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:46:02 +00:00
Vadim Zeitlin
bb7afa499a VC8 has strftime(), even under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:41:24 +00:00
Vadim Zeitlin
e09080ec62 use built in VC8 time functions instead of our (almost certainly broken) ones for wxWinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:27:15 +00:00
Vadim Zeitlin
83e8b44cc0 use wxLocaltime_r() instead of localtime(): this is safer and localtime() isn't available under WinCE while wxLocaltime_r() is always available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:20:20 +00:00
Vadim Zeitlin
c4b4f847e2 recognize CP866 (bug 1497808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:48:04 +00:00
Vadim Zeitlin
1d300f25b3 define wxStringListBase::EmptyList to fix link with wxUSE_STL==1 (bug 1495659)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:14:50 +00:00
Stefan Csomor
068eb463a4 adding text with background brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:41:41 +00:00
Vadim Zeitlin
1295f134ed fixed crash due to infinite recursion in wxPopupFocusHandler::OnKeyDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 14:01:39 +00:00
Vadim Zeitlin
1ffc8d7a55 define arrays of chartoo as the existing ones can't be used to store char values (bug 1572314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:51:01 +00:00
Vadim Zeitlin
e8a147a6c3 invalidate best size of the book controller too when the pages are added/removed, this fixes a lot of sizing problems with treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:20:09 +00:00
Vadim Zeitlin
081fcce3ba reverted the last fix, it was just wrong, sorry, the problem is elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:59:42 +00:00
Vadim Zeitlin
fbf8436cb2 fix tree control best size calculation: account for the images and the buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:42:41 +00:00
Vadim Zeitlin
0a704d3973 call base class ctor in copy ctors explicitly (fixes gcc warnings with -Wextra)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:16:03 +00:00
Stefan Csomor
ad66794547 adding measuring contexts, streamlining printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 07:50:06 +00:00
Stefan Csomor
fd7915711f allowing transformation changes even if there is no graphics context around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 06:39:50 +00:00
Vadim Zeitlin
968956aa6e don't compile in wxCheckWin32Permission() when it's not used (as in cygwin builds where both __UNIX__ and __WINDOWS__ are defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:14:48 +00:00
Vadim Zeitlin
580ca0a4e1 wxAnimationCtrl fix to display inactive bitmap at start (patch 1590192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 22:16:51 +00:00
Vadim Zeitlin
305329c2f1 use wxNullFont instead of *wxNORMAL_FONT as default parameter for wxFontPickerCtrl/Widget, this fixes compilation with gcc 2.95 and possibly other old compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:54:13 +00:00
Julian Smart
f36978baa7 Removed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 09:57:12 +00:00
Julian Smart
551270a895 If the GIF isn't an animation, we can ignore the animation size, thus
suppressing false error.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 22:00:21 +00:00
Jouk Jansen
9f06039f62 Committing in .
Update OpenVMS compile support

 Modified Files:
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/gtk/descrip.mms wxWidgets/src/xrc/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:52:32 +00:00
Julian Smart
2614a461f8 Moved function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 10:42:42 +00:00
Stefan Csomor
f889bdb323 interpreting DrawBitmap for mono bitmaps according to the docs : using textfore- and background-colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:16:04 +00:00
Julian Smart
d5a0a2bcf8 IsDir() test is pretty useless, use DirExists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:30:38 +00:00
Julian Smart
7e134dc10c Reverted patch 1476893 pending further investigation (broke Advise in IPC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 10:21:24 +00:00
Robin Dunn
e5b14b7498 Remove comment from patch that doesn't apply anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:10:47 +00:00
Robin Dunn
3754c85628 Switch wxBufferedDC to use a wxBitmap* internally, so it doesn't
increment the refcount of the bitmap refdata, and so it doesn't do a
copy on write.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:07:36 +00:00
Michael Wetherell
7bb82a7415 Fix setting the large file flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 00:49:50 +00:00
Stefan Neis
7cbe148e2f Maximize chances to find an existing definition for O_BINARY and MAX_PATHLEN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:29:02 +00:00