Commit Graph

33601 Commits

Author SHA1 Message Date
Vadim Zeitlin
ddae497f7b fix off by one error in CharToString(); also simplified the conversion code a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 09:38:54 +00:00
Robert Roebling
b4d6492404 renderer::DrawHeaderButton() seems to need space
which should be corrected in a general way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:32:55 +00:00
Robert Roebling
c21f7aa162 Added style flags for selection mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:31:35 +00:00
Robert Roebling
a87594c638 Fix Refresh() problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:20:42 +00:00
Stefan Csomor
6cce68eaab listbox rewrite, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 07:53:02 +00:00
Stefan Csomor
ca92309874 listbox rewrite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 07:25:08 +00:00
Stefan Csomor
c82af6eec5 fixing 'id' objc.h collisions, listbox rewrite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 06:42:21 +00:00
Stefan Csomor
7af76fc14e fixing 'id' objc.h collisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 06:39:43 +00:00
Paul Cornett
a8fb9edee4 don't convert false to a pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 03:07:42 +00:00
Vadim Zeitlin
9f93b45e59 implemented DrawCheckButton() for XP renderer; code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 02:15:30 +00:00
Vadim Zeitlin
b76d9e767e don't duplicate wxDCBase::DoDrawCheckMark() code in wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:22:30 +00:00
Vadim Zeitlin
3061e2fb50 use wxDC::DrawCheckMark() to draw the checkbox button; also simplified the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:20:42 +00:00
Vadim Zeitlin
27fd2cb679 fixed unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:07:10 +00:00
Vadim Zeitlin
5f2c545c7f regenerated using build/update-setup-h to have wxUSE_DISPLAY and wxUSE_DATAVIEWCTRL changes in all versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:03:10 +00:00
Vadim Zeitlin
9e75975626 set wxUSE_DISPLAY to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:00:51 +00:00
Vadim Zeitlin
2952b4b9e4 put wxUSE_DATAVIEWCTRL in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:58:44 +00:00
Paul Cornett
45ae6833c3 remove unneeded gdiobj.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:25:30 +00:00
Robin Dunn
da91cb0fd1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:22:55 +00:00
Robert Roebling
533544f2ea Added some column width contrl code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:14:36 +00:00
Robert Roebling
940f5ae85d Fix code when making scrollwindow bigger so that
the scroll bars will finally disappear. The
    code forgot to scroll the window back to 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:11:50 +00:00
Robin Dunn
50efceee4e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:00:39 +00:00
Robin Dunn
639158366c Some minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:59:14 +00:00
Vadim Zeitlin
45000e4546 define constfunc in terms of func, this helps tex2rtf to create automatic links for the types used as constfunc arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:56:06 +00:00
Vadim Zeitlin
1b2afc5ac7 wxSizerItem can be used by user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:54:48 +00:00
Vadim Zeitlin
3d561414e5 don't use the return result of wxLocaltime_r, we receive the output in second parameter anyhow (simplifies the code and also suppresses warning about tm being not used if WX_GMTOFF_IN_TM is not defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:28:02 +00:00
Paul Cornett
c0989defa0 Fixes after stock gdi changes within core library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:26:26 +00:00
Vadim Zeitlin
e56f4f9e90 use CXXFLAGS instead of CFLAGS in several places now that the tests are done using C++ compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:06:57 +00:00
Robin Dunn
e48f0e09bf Add AppendSubMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:56 +00:00
Robin Dunn
1412e528f8 Removed GetVisible and SetVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:24 +00:00
Robin Dunn
e0de65e8b8 Added wx.RendererNative.DrawCheckButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:55:25 +00:00
Robin Dunn
46992103a3 Added wx.StandardPaths.GetDocumentsDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:54:14 +00:00
Robin Dunn
99a001dd43 Changed how the stock objects (wx.RED, wx.RED_PEN, wx.RED_BRUSH, etc.)
are initialized.  They are now created as a wrapper object that
initializes itself on first use (when an attribute of the object is
requested.)  This was needed because of similar delayed initialization
functionality that was implemented in wxWidgets, but the end result is
cleaner for wxPython as well, and allowed me to remove some ugly code
under the covers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:49:48 +00:00
Vadim Zeitlin
5d7b75542e regenaretd configure after AC_LANG changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:07:06 +00:00
Vadim Zeitlin
a24217f050 don't include GNOME FS header if we don't use it (and might not have it at all)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:06:25 +00:00
Vadim Zeitlin
d84cedb39e compile GTK+ test program using C compiler, not C++ one, otherwise it always fails as it uses undeclared functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:57 +00:00
Vadim Zeitlin
d240dea199 removed extra semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:15 +00:00
Vadim Zeitlin
8006bf3c49 do all tests using C++ compiler, this should fix all problems due to testing with C compiler and compiling the real code later with the C++ one (such as bug 1472458); in case of problems, the last version using C for (most) tests is tagged BEFORE_LANG_CXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 20:50:24 +00:00
Włodzimierz Skiba
5c1f6b2752 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 19:37:10 +00:00
Włodzimierz Skiba
a2e5beeebb Avoid deleting 'const' object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 19:34:23 +00:00
Robert Roebling
862d8041ab Add wxRenderer::DrawCheckButton for use inside
wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 16:14:12 +00:00
Włodzimierz Skiba
f6630099a7 Blind build fix for night wxOS2 build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 12:30:57 +00:00
Włodzimierz Skiba
3a8db46f44 Fixes after stock gdi changes within core library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 10:01:38 +00:00
Włodzimierz Skiba
7520f3da33 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 09:56:17 +00:00
Włodzimierz Skiba
18f3decb46 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 09:05:00 +00:00
Włodzimierz Skiba
ce3e37f1ec [#1472076] Fixes after stock gdi changes within core library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 08:29:15 +00:00
Włodzimierz Skiba
93763ad5ba wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 08:11:26 +00:00
Włodzimierz Skiba
8898456df4 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 07:24:35 +00:00
Vadim Zeitlin
2c1e249967 compilation fix for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 18:04:58 +00:00
Vadim Zeitlin
8258c3ddbd document that Remove(index) doesn't delete the window neither (replaces patch 1470834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 17:01:16 +00:00
Vadim Zeitlin
484e841e33 corrected ancient event type constant in an example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 11:43:41 +00:00