Compare commits

..

351 Commits

Author SHA1 Message Date
Bryan Petty
1b86aa9d7a This commit was manufactured by cvs2svn to create tag
'ACARC_2006_07_16'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/ACARC_2006_07_16@40632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 18:55:46 +00:00
Bryan Petty
d4a2ae7a13 This commit was manufactured by cvs2svn to create branch
'AUTOCONF_ARCHIVE'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/AUTOCONF_ARCHIVE@36268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 17:46:39 +00:00
Stefan Neis
bebf40d5a0 Detect thread-safe versions of gethostbyname/gethostbyaddr/getservbyname
and how many arguments they use.
Detect thread-safe versions of localtime/gmtime and readdir.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 17:46:39 +00:00
Vadim Zeitlin
b21348b405 don't compare bools with NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 14:03:36 +00:00
Michael Wetherell
9b70ed7b55 Small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 09:29:46 +00:00
Michael Wetherell
4c9847e14e Small fixes to allow compilation with --enable-stl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 02:03:40 +00:00
Michael Wetherell
b271d60d6a Small fixes to allow compilation in Unicode mode with gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 02:01:21 +00:00
Michael Wetherell
548bbe143b Replace non-ascii characters with escapes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 01:58:19 +00:00
Michael Wetherell
c1d8296a78 Silence warning about truncation since the comment says it ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 01:56:51 +00:00
David Surovell
e88df737fb fixed GetFreeMemory decl. to match wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 23:27:21 +00:00
Vadim Zeitlin
8aeeb05c0e renaming of variables in rev 1.1090 introduced a clash between 2 different DEBUG_FLAG variables, so renamed the one containing debugging options for the compiler to DEBUG_CFLAGS to avoid it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 15:42:12 +00:00
Vadim Zeitlin
4ad76303b5 include missing header; add default values for wxPlotWindow ctor pos and size parameters for consistency with all the other wx classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 14:40:32 +00:00
Michael Wetherell
8875e7ad84 Only define wxIntegerHash::longlongHash when long long isn't long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:40:54 +00:00
Vadim Zeitlin
dddd1f21c1 added helper for visual sizers debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:09:23 +00:00
Vadim Zeitlin
cc11ded1ae made wxTreeTraversal and wxIDropSources dtors virtual (patch 1311828)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:08:09 +00:00
Vadim Zeitlin
9ad34f611f implemented wxGetFreeMemory() under IRIX (patch 1360356); made wxMemorySize always 64 bit as it can overflow even in 32 bit builds otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 22:09:22 +00:00
Vadim Zeitlin
2cdf244521 fix warnings about casting regmatch_t struct fields to size_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 21:49:00 +00:00
David Elliott
8ced02f601 Ran make -f build/autogen.mk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 05:17:36 +00:00
David Elliott
891ace0538 Separate RESCOMP into WINDRES (for Win32) and REZ (for Mac OS).
Don't check for windres as bakefile.m4 now does it properly.
Rename MACRESCOMP to POSTLINK_COMMAND.
Rename MACRESWXCONFIG to WXCONFIG_POSTLINK_COMMAND.
Use newest bakefile.m4 (with similar changes).
Add --rezflags option back to wx-config so existing user Makefiles don't break.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 04:51:08 +00:00
Włodzimierz Skiba
9cd03a43ce Minor improvements and cleanings after recent WinCE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 20:16:31 +00:00
Julian Smart
7532f691fb Applied patch [ 1310251 ] Fixed a pixel depth bug converting wxImageb to wxBitmap
By Mike Fahl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 17:41:26 +00:00
Julian Smart
38c39207e9 Fixed style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 17:31:35 +00:00
Julian Smart
0e3c83a736 Applied patch [ 1308152 ] wxGrid XRC handler patch HEAD
Start of a wxGrid handler by Agron Selimaj
Applied with corrections. Needs further work for retrieving grid properties
and styles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 17:26:05 +00:00
Julian Smart
650372cf91 Applied patch [ 1305650 ] ODBC32.lib is not included for borland by wxpresets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 17:09:43 +00:00
Julian Smart
6e9e2d94b4 Applied patch [ 1351847 ] wxTextXtrl Undo/Redo Bug (sic)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 16:53:48 +00:00
Julian Smart
78c743d864 Applied patch [ 1357475 ] WinCE : wxExecute does not execute programs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-24 16:45:05 +00:00
Włodzimierz Skiba
63de3718ed [ 1364397 ] wxUSE_MS_HTML_HELP could be redefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 13:57:56 +00:00
Michael Wetherell
7553e636a2 Add 'wx_' prefix to builtin regfree and regerror
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 13:56:08 +00:00
Włodzimierz Skiba
66d84d1130 Build and run ::wxGetUserName() silently with unusual configs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 12:04:42 +00:00
Vadim Zeitlin
3d971ca9f1 fixed Write() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 10:29:37 +00:00
David Surovell
bb86baea10 Realize remap code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 08:01:47 +00:00
Ron Lee
370d2fd7cc Minimal implementation of --rescomp option for wx-config,
required for building windows resource files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 05:10:09 +00:00
Vadim Zeitlin
bc6ee4ae7f fixed quoting in CPPFLAGS (last change broke the Unix build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 02:10:04 +00:00
Stefan Csomor
0df4335d4d using backward compatible calls for HitTest hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 17:54:16 +00:00
David Surovell
2c62259349 fixed memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 16:15:46 +00:00
David Surovell
0c38974967 added wxMac comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 16:11:59 +00:00
Włodzimierz Skiba
86f6a6d19d Safe wxStrncpy usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 11:57:55 +00:00
Włodzimierz Skiba
717870a64c wxGetUserName for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 10:01:20 +00:00
Włodzimierz Skiba
119f7bb745 wxGetUserName for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 09:20:41 +00:00
Vadim Zeitlin
5ff751d600 autumn cleanup of configure:
1. we now consistently use WXCONFIG_C[PP|XX]_FLAGS instead of a mix of CODE_GEN_FLAGS
   plus tons of ad hoc variables (TOOLCHAIN_DEFS, WX_LARGEFILE_FLAGS, WXDEBUG_DEFINE
   and so on) which could all be simply removed now

2. output more stuff which used to be in CFLAGS only in wx-config output:
 a) pthread options (they are needed for user code compilation too)
 b) -D__STDC__EXT needed under HP-UX, this should finally fix the build there

3. also removed GCC_PRAGMA_FLAGS which is unused any more

4. use consitent naming for a couple of other variables


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 02:06:16 +00:00
David Surovell
4647fc0833 removed empty block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 21:42:58 +00:00
Vadim Zeitlin
aae53500af removed non-const wxFontData::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 21:28:40 +00:00
Vadim Zeitlin
50a32a83d7 documented HasFlag()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 19:41:17 +00:00
Dimitri Schoolwerth
412e0d47c0 applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Vadim Zeitlin
84ac8772b7 return correct error message if NSLinkModule() fails; fixed flagrant buffer overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:26:34 +00:00
Vadim Zeitlin
67d0bba631 we have dlerror() under Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:23:53 +00:00
Vadim Zeitlin
233c6e7fb0 script to set the install name correctly for all wx libraries from the given install prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 18:11:44 +00:00
Michael Wetherell
ab0f0eddc4 Use re_search directly instead of regexec when using the GNU regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 17:25:33 +00:00
Julian Smart
7ede73899d Moved EnsureVisible to avoid spurious selection of root during idle processing
(via ScrollTo/wxYieldIfNeeded)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:27:11 +00:00
Julian Smart
1599f54eaa Typo corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:22:17 +00:00
Vadim Zeitlin
46bed958ef don't cast from float to int (provoking a warning) just to cast back to float again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:19:12 +00:00
Vadim Zeitlin
f885b81573 fixed harmless signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:18:07 +00:00
Vadim Zeitlin
69d313011b corrected SeekEnd() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 14:26:50 +00:00
Julian Smart
9941146580 Event coordinates should _always_ be physical, not logical, to
be consistent both with other events and with the wxMSW control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 22:49:13 +00:00
Stefan Csomor
21ec3bf99c patch 1352744
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 13:05:14 +00:00
Mart Raudsepp
90e572f1e5 Spelling fixes from Andreas Mohr (patch #1360064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Stefan Csomor
8b28584104 patch 1306473
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 21:23:24 +00:00
Stefan Csomor
7db33dd7ad patch 1265473
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 18:40:34 +00:00
Włodzimierz Skiba
0ab48d6405 Follow other ports with Title/Label split.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 18:34:15 +00:00
Włodzimierz Skiba
f0f60c7c21 Update after adding palmos setup.h to family of automatically created setups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 18:30:26 +00:00
Václav Slavík
3bc7a423ad fixed layout of tables that are first element on a page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 23:37:27 +00:00
Václav Slavík
97eac136f3 reduced code duplication in wxHtmlWinParser::AddText (no real change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 23:35:36 +00:00
Julian Smart
46cbb21ecb Fixed problem with choice editor in wxGrid whereby the editor
lost focus when the combobox menu was shown.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 17:43:15 +00:00
Włodzimierz Skiba
1ac74d83a3 Fixes for bugs #1218219 and #1218254.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 14:36:32 +00:00
Włodzimierz Skiba
8b0df0e138 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 17:43:52 +00:00
Włodzimierz Skiba
5e06d749ed Finally removes occurences of OnMenuCommand and closes bug #1164678
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 17:27:38 +00:00
Vadim Zeitlin
582ca3535a don't use wxStaticCast to wxBookCtrlBase -- it doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 16:31:35 +00:00
Michael Wetherell
dbc459f652 Rebake for new penguin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 14:19:52 +00:00
Dimitri Schoolwerth
d997c6118c applied patch #1348053 "[msw] Strip mnemonics when calc best size for static text"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 12:06:54 +00:00
Dimitri Schoolwerth
0f99ce3d75 only remap the disabled bitmap of a toolbarbutton when allowed by system (settings), otherwise colour artifacts can appear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 23:26:06 +00:00
Mart Raudsepp
6716099174 Any reason why we #if the menuitem bitmap code in the menu sample? For now just adding wxGTK in addition to
wxUSE_OWNER_DRAWN case, for the cases where bitmaps are to be set...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 22:40:32 +00:00
Vadim Zeitlin
f784a2a96b unhide wxConnectionBase::Execute(wxString)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 18:05:48 +00:00
Michael Wetherell
c9eee7f035 Add a length parameter for wxRegEx::Matches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 15:51:10 +00:00
Michael Wetherell
58b59bb7d5 rcdefs.h is a real file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 15:36:33 +00:00
Włodzimierz Skiba
f000211ebe Be consistent with all setup.h. Include chkconf.h only once from wx/platform.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 14:51:12 +00:00
Włodzimierz Skiba
c0089c96ec Minor cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 07:40:12 +00:00
Stefan Csomor
41ab357ed9 corrected wake up code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 20:24:16 +00:00
Julian Smart
4b764db379 Applied patch [ 1355355 ] Replace GPLed code in penguin sample and add features
(with Unicode and scope mods)
By Sandro Sigala


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 17:38:24 +00:00
Włodzimierz Skiba
3d1a1d2df6 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 17:03:37 +00:00
Julian Smart
5fd420ed86 Removed GTK+2 bitmap menu item code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 08:48:35 +00:00
Włodzimierz Skiba
d126840117 eVC3/PPC2002 build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 21:48:53 +00:00
Włodzimierz Skiba
83cda8eb0a Helpful references.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 21:47:08 +00:00
Włodzimierz Skiba
394b206f07 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 21:26:24 +00:00
Mart Raudsepp
c1da50582e Typo fix in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 19:51:45 +00:00
Mart Raudsepp
0118b60be6 Might aswell show the compile- and runtime versions of GTK+ in the ctrl+alt+mclick dialog in case of wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 19:44:15 +00:00
Włodzimierz Skiba
94e8d77cbb Missing #ifdef markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 14:52:34 +00:00
Włodzimierz Skiba
ce82ff93d3 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 11:53:06 +00:00
Włodzimierz Skiba
08b9726806 Resize all top level windows when SIP changes visibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 11:46:24 +00:00
Kevin Hock
6fa30495b5 Fix MDI child windows not becoming active when created after changes to wxTopLevelWindow; BringWindowToTop added to wxMDIChildFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 05:00:32 +00:00
Michael Wetherell
db9db9cd18 Change the name of a symbol to make it more descriptive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 19:33:47 +00:00
Michael Wetherell
f302b6a445 Make wxRegEx::Replace run in linear time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 17:22:13 +00:00
Michael Wetherell
0519aac9db Warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 16:55:03 +00:00
Julian Smart
ece291c7d2 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 14:46:16 +00:00
Roman Rolinsky
306b6fe972 0.1.7-0
-------

Added new controls (Choicebook, Listbook, StatusBar, DatePicker), and
completed style flags. Test window is opened for an available parent
control if no specific view defined. Better handling of exceptions
(highlighting does not 'stick' anymore). Tested on wxGTK 2.6.1.0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 00:23:31 +00:00
Włodzimierz Skiba
6d3d756a6a Macros for simplified testing Open Watcom version and required tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 16:16:05 +00:00
Włodzimierz Skiba
2a2d7a737d Missing commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 12:49:02 +00:00
Włodzimierz Skiba
b0b4386b6e Missing commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 12:42:02 +00:00
Włodzimierz Skiba
8735500383 Lineup features of all book driven events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 12:15:04 +00:00
Włodzimierz Skiba
5b897d36cc Preparation for incoming OW 1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 12:05:11 +00:00
Włodzimierz Skiba
ffd84c9476 Get/SetTitle only for wxTopLevelWindow (wxX11 part, final)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 12:03:39 +00:00
Vadim Zeitlin
75865c8dc7 add Clone() to wxXXXbookEvent and copy ctor to wxBookCtrlBaseEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 12:02:00 +00:00
Vadim Zeitlin
e710277282 added wxKeyEvent::GetModifiers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 11:59:47 +00:00
Vadim Zeitlin
b2f8e75a0a add Clone() to wxXXXbookEvent and copy ctor to wxBookCtrlBaseEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 11:24:19 +00:00
Stefan Csomor
3c3e697033 adding hit testing (needed a hack)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 09:43:03 +00:00
Stefan Csomor
d0e7c7e589 adding hit testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 09:17:14 +00:00
Stefan Csomor
19d7aad6f2 we're not supporting CW 5 anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 07:29:11 +00:00
Włodzimierz Skiba
6dabe332cb OW 1.4 preparation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 21:04:54 +00:00
Włodzimierz Skiba
7ec698211d Various source cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 20:14:39 +00:00
Włodzimierz Skiba
2a4d2d4680 'rcdefs.h' action has to be phony, otherwise it is expected to be file existing after action execution.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 19:59:29 +00:00
Michael Wetherell
b46d37d75c Update the build instructions for Win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 14:17:31 +00:00
Stefan Csomor
e00eeba851 allow a SHAPED flag for a dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 14:08:02 +00:00
Stefan Csomor
8ec0a8fa72 wx..._EX_METAL styles support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 09:45:58 +00:00
Michael Wetherell
5c60e84569 Regenerate Makefile.in, configure and the VC++ project files after adding rcdefs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 02:34:32 +00:00
Kevin Hock
0567fdfceb Restored the accidentally deleted "return true;" at the end of the Show method from last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 00:30:45 +00:00
Michael Wetherell
47bff9ff8b Correct the directory rcdefs.h installs to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 00:10:31 +00:00
Michael Wetherell
92641c0dc0 Correct the include order for the resource compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 23:17:24 +00:00
Michael Wetherell
c8d5853155 Add rcdefs.h and support for automatic manifests on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 22:49:46 +00:00
Michael Wetherell
4c4863dbe7 Bake fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 22:24:35 +00:00
Włodzimierz Skiba
5ec5e8cedb More obsolete compatibility removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 19:59:51 +00:00
Julian Smart
70dec69b0b Force linking of gprint.cpp, otherwise Gnome printing may not work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 18:11:12 +00:00
Roman Rolinsky
af52e1853c revision 7
Using system clipboard for Copy/Paste


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 17:01:38 +00:00
Włodzimierz Skiba
8d8d36335c Get/SetTitle only for wxTopLevelWindow (wxCocoa part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 16:02:07 +00:00
Włodzimierz Skiba
793b53a004 Get/Set title fixes (#1350999).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 14:59:52 +00:00
Kevin Hock
75e275af32 Remove fudges in Show: 1) Do not force a window to top when it is shown 2) Remove extra ACTIVATE event on show 3) Do not fudge resetting focus after closing a window (always setting to the parent can lead to unnatural results)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 14:41:09 +00:00
Kevin Hock
2175898cf6 Remove always moving window to the top of the Z-order on on Show
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 14:38:20 +00:00
Włodzimierz Skiba
67eb4cb253 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 13:28:34 +00:00
Stefan Csomor
f4b3287fd2 not supported anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 07:56:57 +00:00
Stefan Csomor
a6de78177e fix undefined structs under 10.2 (tinderbox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 06:33:27 +00:00
Vadim Zeitlin
1e966cc4c8 remvoed wxFileDialogBase::m_parent as there is already one in wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 01:33:33 +00:00
Vadim Zeitlin
153958f72d wxString(const unsigned char *) ctor doesn't crash by default with wxUSE_STL==1 any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 01:10:02 +00:00
Vadim Zeitlin
2ee96a251c fix memory leak of wxMessageOutput if wxApp::OnInit() returned false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 01:02:48 +00:00
Vadim Zeitlin
6dc2a916df fix memory leak of pending events in wxEvtHandler dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 00:45:46 +00:00
Mart Raudsepp
8fb824187d [wxGTK] Support run-time changing of the wxFRAME_NO_TASKBAR style value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 23:06:34 +00:00
Mart Raudsepp
015dca24ca [wxGTK] Support changing the wxSTAY_ON_TOP style value run-time through wxWindow::SetWindowStyleFlag, support for
more styles to follow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 20:00:50 +00:00
Mart Raudsepp
56aed4aace Fix formatting tag in frame.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 18:23:51 +00:00
Mart Raudsepp
d37e85cd9b Fix formatting in bbutton.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 18:21:49 +00:00
Stefan Csomor
fd39aa23bc adjusting to SetLabel migration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:56:17 +00:00
Stefan Csomor
44f9d0aa55 adjusting to SetLabel migration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:05:04 +00:00
Stefan Csomor
f51374fe9d cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:02:57 +00:00
Stefan Csomor
d4bd6c97be cleanup, adding correct window-ids to window events (important when using eg Connect)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:01:15 +00:00
Stefan Csomor
26a2f9144b cleanup, using Tiger funcs if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:58:32 +00:00
Stefan Csomor
d32be04cd7 support for wxNO_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:36:00 +00:00
Stefan Csomor
51cdab3ef8 CGImage Creation is always available under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:34:48 +00:00
Stefan Csomor
57a21e6c45 switch to a CoreFoundation based and thread-safe implementation for message boxes for Mach-O builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:59:34 +00:00
Włodzimierz Skiba
fb5246bead Get/SetTitle only for wxTopLevelWindow (wxMac part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:37:19 +00:00
Włodzimierz Skiba
cdc059191b Fixed #1338966.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 13:47:44 +00:00
Włodzimierz Skiba
ce045aed58 wxGetWorkingDirectory() deprecated. Fixed #1338966.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 13:27:09 +00:00
Julian Smart
f3e874756b Don't resend an update event from m_spin to avoid recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 10:15:42 +00:00
Włodzimierz Skiba
caae22fb66 eVC4 warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 21:42:01 +00:00
Włodzimierz Skiba
41e155b43e eVC4 warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 20:44:43 +00:00
Włodzimierz Skiba
792f83f038 Speedup for adding array of items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 18:47:25 +00:00
Stefan Csomor
377a6b3ef5 not needed for CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 07:23:14 +00:00
Stefan Csomor
18b94824f5 added CFRef holder templated class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 07:19:18 +00:00
Włodzimierz Skiba
316189733a Native wxCheckListBox implementation for wxWinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 22:49:33 +00:00
Stefan Csomor
24cd6f8250 finished implementation for stencil and colored patterns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 16:53:42 +00:00
Vadim Zeitlin
bf00c875fe documented wxStringTokenize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 13:48:02 +00:00
Julian Smart
6270539bcf Set HTML data even in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 10:25:59 +00:00
Stefan Csomor
3ca57155b4 added permission error to the 'expected' error codes, removed assert, as this leads to problems in wxPython otherwise, and getting another error essentially means we cannot continue iterating..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 07:39:46 +00:00
Włodzimierz Skiba
743e24aa72 Get/SetTitle only for wxTopLevelWindow (wxOS2 part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 21:13:03 +00:00
Roman Rolinsky
c032d94e60 version 0.1.6-6
Improved some dialogs (window styles, growable cols). Changed the
range for wxSpinCtrl min/max to all integers (default 0/100 is not
always good).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 20:17:52 +00:00
Włodzimierz Skiba
46ae103b9f Get/SetTitle only for wxTopLevelWindow (wxMGL part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 18:49:49 +00:00
Włodzimierz Skiba
72c23f8e29 Get/SetTitle only for wxTopLevelWindow (wxGTK part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 15:14:42 +00:00
Włodzimierz Skiba
340bfb43eb Get/SetTitle only for wxTopLevelWindow (wxGTK part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 14:19:41 +00:00
Włodzimierz Skiba
5bc3865fdf Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 12:50:11 +00:00
Włodzimierz Skiba
2ea5111b0a Get/SetTitle only for wxTopLevelWindow (wxGTK part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 12:30:03 +00:00
Włodzimierz Skiba
cb8cc2506b Get/SetTitle only for wxTopLevelWindow (wxGTK part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 11:11:22 +00:00
Włodzimierz Skiba
d40209bbc4 Build fix after last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 22:14:34 +00:00
Włodzimierz Skiba
34097680c0 Get/SetTitle only for wxTopLevelWindow (wxMotif part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 20:58:02 +00:00
Vadim Zeitlin
7996ff8038 use focused bitmap as fallback for the hover one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 19:38:20 +00:00
Vadim Zeitlin
3e764e2f80 added checkbox to enable setting (or not) individual wxBitmapButton bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 19:29:18 +00:00
Włodzimierz Skiba
dbf38e885e Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:53:29 +00:00
Włodzimierz Skiba
faa49bfd39 Get/SetTitle only for wxTopLevelWindow (wxMSW part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:47:29 +00:00
Włodzimierz Skiba
60fef9643d Get/SetTitle only for wxTopLevelWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:27:19 +00:00
Stefan Csomor
64bd657c27 support for 10.4 provided context menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 14:23:22 +00:00
Kevin Hock
fa349e95cc Use toplevel parent rather than immediate parent as color dialog's parent window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 02:50:00 +00:00
Michael Wetherell
391e89ae17 Initial attempt at some instructions on building for Win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 02:25:01 +00:00
Vadim Zeitlin
6aad0c7037 fixed compilation breakage in 1.24 commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 01:56:02 +00:00
Vadim Zeitlin
1fdc16adf7 added SetHoverBitmap() and implemented it under wxMSW; extended the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 01:48:10 +00:00
Vadim Zeitlin
552271d6ad added test of wxBitmapButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 01:28:17 +00:00
Michael Wetherell
b4a12e485b Remove bufferoverflowu.lib since it's not present with some versions of VC++ 8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 00:40:45 +00:00
Vadim Zeitlin
6b5a2b6fe9 deprecate SetLabel(const wxBitmap&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 00:40:00 +00:00
Włodzimierz Skiba
4b39770c38 Bug #1220988 fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 16:52:23 +00:00
Stefan Csomor
44aa865dfc default implementations for Replace and Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 16:40:56 +00:00
Stefan Csomor
ce0d1032d1 applying patch 1345435
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 15:22:39 +00:00
Stefan Csomor
6567c540f5 re-added support for help-menu and application-menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 14:50:10 +00:00
Włodzimierz Skiba
4262d65eb1 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 13:59:40 +00:00
Chris Elliott
63c02113db add missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 09:49:16 +00:00
Chris Elliott
60ff2335c4 add missing header to allow ../src/common/docview.cpp to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 09:18:52 +00:00
Włodzimierz Skiba
60104cbafa wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-01 22:35:50 +00:00
Michael Wetherell
4b8f856e6f Add some files to 'make dist' for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 22:22:41 +00:00
Michael Wetherell
b7859132ae Modify wxString::operator<<(wxLongLong_t) to avoid warnings from mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 20:27:17 +00:00
Michael Wetherell
e4809643b4 Include $cross_root/include in header search when cross compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 20:21:12 +00:00
Vadim Zeitlin
f9f75df733 using newlines in AC_CONFIG_COMMANDS() first argument breaks config.status under cygwin, so don't do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 20:14:39 +00:00
Vadim Zeitlin
91a1ee8637 disable PCH under cygwin, it doesn't work even with the very latest cygwin gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 19:59:52 +00:00
Vadim Zeitlin
136b3b1914 #undef CreateFont to fix cygwin compilation now that wxRichTextCtrl uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 19:35:41 +00:00
Włodzimierz Skiba
127eab18f8 wxMGL revitalised with OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 17:14:55 +00:00
Włodzimierz Skiba
b8af111fa5 wxMGL revitalised with OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 17:00:43 +00:00
Julian Smart
fcdbeefa4e Applied patch [ 1341085 ] richtext xml build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 14:27:53 +00:00
Włodzimierz Skiba
ddc2587f4a wx/os2/chkconf.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-30 20:32:44 +00:00
Vadim Zeitlin
1f00af0e9e fix for incorrect member initialization order warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-30 20:20:27 +00:00
Vadim Zeitlin
ae0ca7559c renamed BLOCK_SIZE which conflicts with a #define in a std Linux (and maybe not only) header (bug 1339731)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 17:46:12 +00:00
Vadim Zeitlin
a30ccc2d42 don't get margin to non NULL values in default ctor, this is inconsistent as default ctor + Create() don't do the same thing as non default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 17:43:11 +00:00
Włodzimierz Skiba
6092f24fae eVC3 build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 15:18:18 +00:00
Włodzimierz Skiba
7b504551c2 Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 12:48:07 +00:00
Kevin Hock
2cb94e7ad6 Fixed description with number of ways to use timer class, updated note about main thread to remove obscure "NB" which may not be well understood and removed confusing word "currently"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 16:01:24 +00:00
Chris Elliott
2c028d8308 remove GetImageList(int)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 14:33:05 +00:00
Julian Smart
b01ca8b6a9 Applied patch [ 1339882 ] richtext misc cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 14:24:04 +00:00
Chris Elliott
bb0d2f0379 remove GetImageList(int)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 14:05:49 +00:00
Włodzimierz Skiba
7dab17dd7a Build fix for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 09:12:15 +00:00
Vadim Zeitlin
a843caf3e1 fixed MCSetMovie() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 01:08:03 +00:00
Włodzimierz Skiba
0ed94e8347 WinCE build fix according to eVC3 and eVC4 SDKs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 21:22:48 +00:00
Julian Smart
ebefb30e51 Sorry, forgot default value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 21:00:26 +00:00
Włodzimierz Skiba
d2bad02dbb WinCE build fix (we need default constructor).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 20:57:10 +00:00
Włodzimierz Skiba
cb7d73757f Support for automatic setup.h in OS/2 with OW builds. __WXOS2__ final removal. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 16:01:45 +00:00
Chris Elliott
ec90484017 SF bug 1327872
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 20:48:09 +00:00
Chris Elliott
3f93a7508e avoid hidden GetImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 20:09:10 +00:00
Julian Smart
dd9ea234f2 Do a sanity check before reading. Otherwise, if trying to read a duff image file,
the app can abort if you pass a specific image type, but simply show an error
message if you pass wxBITMAP_TYPE_ANY.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 14:08:43 +00:00
Włodzimierz Skiba
90c0f5a958 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 12:44:28 +00:00
Julian Smart
3db5226517 Added parent window parameter to wxHelpController constructor
and added SetParentWindow/GetParentWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 09:32:10 +00:00
Jouk Jansen
b4f9b09cb9 Committing in .
Updated OpenVMS compile options

 Modified Files:
 	wxWidgets/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 06:20:19 +00:00
Mart Raudsepp
df034cc6d5 Compilation fix...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 00:26:34 +00:00
Włodzimierz Skiba
9a173d48f7 wxWinCE build fix and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 23:18:15 +00:00
Julian Smart
0bab774ba3 Fixed warnings/errors and changed Thaw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 17:51:10 +00:00
Mart Raudsepp
d9f42a9e5a Alphabetize wxWindow members list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 16:35:25 +00:00
Michael Wetherell
2bc63d3f80 Add missing files to 'make dist'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 16:25:17 +00:00
Michael Wetherell
8bda759f44 Add libraries.h, amd64.manifest and ia64.manifest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 15:32:11 +00:00
Chris Elliott
89220a9428 missing #include (SF bug 1327872)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 13:58:32 +00:00
Vadim Zeitlin
07f9359380 fixed DLL compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 13:11:18 +00:00
Julian Smart
76bcd8154c Don't clear background in Refresh (to suit poor implementations of Refresh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 10:41:38 +00:00
Włodzimierz Skiba
068becf562 Move wxMulDivInt32 to common math.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-24 18:56:33 +00:00
Michael Wetherell
d9b30c5a6c Always define wxUSE_OWNER_DRAWN so that we don't get lots of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-24 12:52:24 +00:00
Michael Wetherell
4d56c20d2c Add missing wxUniv files to msw and gtk tarballs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 23:01:26 +00:00
Włodzimierz Skiba
5ccb95f690 WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 22:37:58 +00:00
Michael Wetherell
9f8b9d9cc1 Export wxFindFocusDescendant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 22:16:33 +00:00
Michael Wetherell
ebef1625fa Rebake after adding libs html and xml to samples using lib adv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 21:56:27 +00:00
Michael Wetherell
2fa7bb014e Add libs html and xml to bakefiles of samples/contribs/demos using lib adv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 21:52:24 +00:00
Michael Wetherell
3708784b46 Add missing files to release tarballs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 21:44:01 +00:00
Michael Wetherell
16bb2e119d Add missing files to the distribution tarballs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 21:02:56 +00:00
Stefan Neis
fbf618dff8 Removed unused symbol __WXOS2__ (it's either __OS2__ when platform specific
- similar to __UNIX__ - or __WXPM__ when specific to the port - similar
       to symbols __WXMOTIF__ or __WXGTK__).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:42:59 +00:00
Włodzimierz Skiba
96531a71a0 filename correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:40:42 +00:00
Stefan Neis
554fdf48f5 Replaced __WXOS2__ by __OS2__ or __WXPM__ as apropriate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:30:53 +00:00
Michael Wetherell
de5f07794d Add more missing files to the tarballs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 19:52:36 +00:00
Michael Wetherell
8869c3a1ce Add missing files to the tarballs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 14:57:19 +00:00
Julian Smart
bc88602a65 Patch [ 1314868 ] [wxMSW] Show MDI child menubars when ShowFullScreen(false)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 11:05:46 +00:00
Julian Smart
3d3afaecfb Applied patch [ 1310416 ] [wxMSW] Fix radio button traversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 10:59:01 +00:00
Julian Smart
1ca78aa1dc Applied patch [ 1307056 ] [wxMSW] Focus showing fix for Win2k/XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 10:53:16 +00:00
Michael Wetherell
dbeb8eacae Prepare the way to make 'make dist' default to copying files, with linking an option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 16:24:49 +00:00
Julian Smart
2f36e8dce5 Now works when derived from wxTextCtrlBase, using wxScrollHelper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 13:44:30 +00:00
Julian Smart
a4f4d548ce Font (possible) fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 12:10:34 +00:00
Julian Smart
09f1410821 Corrections for wxUSE_STL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 11:40:32 +00:00
Julian Smart
4708068cb6 Wine corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 10:22:48 +00:00
Julian Smart
9e31a66087 More Erase substitutions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 09:24:49 +00:00
Julian Smart
11ef729d54 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 09:20:09 +00:00
Julian Smart
4837b89e3b Use GetFont not m_font for GetCharHeight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 08:51:12 +00:00
Julian Smart
c4cd20cfa7 Removed duplicate hotkey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 08:46:41 +00:00
Julian Smart
efbf673503 Replace node deletion with Erase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 08:05:19 +00:00
Włodzimierz Skiba
39a1c2f2dd wxTinderbox build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-22 07:45:54 +00:00
Julian Smart
d21423356e Don't try to open clipboard if already open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 20:43:02 +00:00
Julian Smart
c59f6793fb Reduced unnecessary painting; delete/recreate caret as WIN32 requires
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 20:04:53 +00:00
Michael Wetherell
a027779a10 Add missing directories and utils to the wxBase tarball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:57:09 +00:00
Włodzimierz Skiba
0ad966eeac Allow translated 'Space' in menu accelerators (perhaps more entries should allow it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:06:45 +00:00
Włodzimierz Skiba
2ddb4d1358 Unified flags for orienting wxBookCtrls (with backward compatibility). Centralised code for sizing internals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:03:06 +00:00
Włodzimierz Skiba
d8fd7acb8b Unified flags for orienting wxBookCtrls (with backward compatibility). Centralised code for sizing internals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 18:53:51 +00:00
Vadim Zeitlin
eb42e596aa blind compilation fix for TestScopeGuard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 17:33:42 +00:00
Julian Smart
ff2baa25d5 Switched antialiasing off since GetTextExtent doesn't work properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 16:31:07 +00:00
Michael Wetherell
4383e2b12a Adv now depends on libs xml and html, so add <library> tags for these and
bakefile takes care of everything.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 16:18:45 +00:00
Michael Wetherell
2f27c88987 Fix a couple of export declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 16:02:25 +00:00
Julian Smart
7383cf9d17 Fixed warning, move caret in OnPaint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 14:50:29 +00:00
Julian Smart
be665c07ab Regenerated configure for wxUSE_RICHTEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 14:23:18 +00:00
Julian Smart
4e09ebe880 Restored code uglies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 13:54:15 +00:00
Julian Smart
dc043de063 Removed macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 13:14:16 +00:00
Julian Smart
4d551ad5e5 Fixed some styling bugs, optimized resize for large files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 13:02:15 +00:00
Vadim Zeitlin
907c39f19b fixed typo in GetNextItem example (bug 1333797)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 11:18:34 +00:00
Julian Smart
169adfa9c4 Resets scroll position on load
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 22:51:57 +00:00
Michael Wetherell
e4d6cfadda Add configtool to the distribution tarballs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 21:43:00 +00:00
Michael Wetherell
91dea3144c Small changes to 'make dist' to allow it work on Solaris, and to use the
result of AC_PROG_LN_S when making links.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 19:48:26 +00:00
Julian Smart
162a4f9382 Support wxALWAYS_SHOW_SB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 17:30:24 +00:00
Włodzimierz Skiba
e191ee8751 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 14:40:47 +00:00
Julian Smart
1e967276d8 Efficiency measures; file loading bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 12:55:53 +00:00
Julian Smart
3811368401 Introduced invalidation of ranges for later optimization code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 22:20:12 +00:00
Włodzimierz Skiba
7fe8059f58 const consistent for Clone(). Load/Save split to DoLoad/DoSave. Build fixes, warning fixes and other source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 17:00:58 +00:00
Włodzimierz Skiba
7f9d2f2aaf richtext.bkl added and dmars makefiles removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 16:56:27 +00:00
Julian Smart
2c375f42cf First part of a layout optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 14:44:15 +00:00
Julian Smart
011b3dcbef Only draw if inside client rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 13:54:32 +00:00
Julian Smart
5d7836c47d Added wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 12:52:47 +00:00
Włodzimierz Skiba
65de19d80a constfunc correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 10:12:49 +00:00
Michael Wetherell
2f5e790cb1 Restore ALL_BASE_HEADERS to its previous meaning of 'all for a given port' as
it is used in this sense in rpmspec.bkl, add ALL_PORTS_BASE_HEADERS for
'make dist', and rebake.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 20:50:46 +00:00
Michael Wetherell
14ff1954ae Add note that precompiled headers do not work on current Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 18:54:13 +00:00
David Elliott
ae999b11ec Remove sm_cocoaDelegate singleton. We need per-instance data anyway so we
may as well make it the target instead of the userInfo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 16:02:51 +00:00
David Elliott
06c2bab085 Replace wxNSTimerData -setTimer method with -initWithWxTimer: initializer
which correctly calls the superclass (NSObject) init.

Add an -init method for correctness; technically not needed as it is never
called but it's an Objective-C best practice.

Release the wxNSTimerData instance just after passing it to the NSTimer
factory method.  NSTimer retains it and we don't keep a pointer to it
so we should not keep a refence to it.  This fixes the bug in wxTimer::Stop
where the program crashes in the NSCFTimer userInfo method because the
NSTimer has already been invalidated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 15:27:48 +00:00
Włodzimierz Skiba
159e6235b2 Set/get for internal border in book based controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 12:31:11 +00:00
Włodzimierz Skiba
afe1376994 compilation fix after wxScrollHelper changes (ctor argument is now not optional and SetWin doesn't exist any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 11:13:34 +00:00
Jouk Jansen
6694ee19fc Committing in .
Updated openvms compile support
 Modified Files:
 	wxWidgets/src/generic/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 10:18:00 +00:00
Vadim Zeitlin
c3ee2228e5 compilation fix after wxScrollHelper changes (ctor argument is now not optional and SetWin doesn't exist any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-18 00:03:36 +00:00
Michael Wetherell
5d4a10e70a Revert accidental change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 23:45:25 +00:00
Vadim Zeitlin
74205969dd fixed Fit() to call SetClientSize() and not SetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:41:52 +00:00
Michael Wetherell
871192ce0f Widen the hash key for win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:11:49 +00:00
Michael Wetherell
4a10ea8b13 Warning fixes for win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:08:05 +00:00
Włodzimierz Skiba
c0f420c1ac wxTinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 21:49:58 +00:00
Włodzimierz Skiba
1a4138c79a Follow changes in common code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 19:51:31 +00:00
Vadim Zeitlin
22574b4a9c renamed DoHitTest() to DoTreeHitTest() to avoid conflict with existing wxWindow method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 19:31:40 +00:00
Włodzimierz Skiba
b220b1a2c8 Warning fix (instead of silencing int->short with typecast, have the same type internally as in interface).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 17:57:04 +00:00
Michael Wetherell
a84d5f9da1 Link with bufferoverflowu.lib for VC++ 8 and later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 17:46:11 +00:00
Włodzimierz Skiba
30e105e429 Keep setup0.h in sync with more ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 17:40:36 +00:00
Włodzimierz Skiba
e9ac5f0244 Keep setup0.h in sync with other ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 17:11:33 +00:00
Michael Wetherell
fcd8dd3f33 Compile fix for Unicode build on win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 17:08:28 +00:00
Włodzimierz Skiba
07319f2aaf htmlctrl sample is not for msw toolkits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 16:39:19 +00:00
Michael Wetherell
6429ac6d63 Warning fix, should be #ifdef instead of #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 16:14:49 +00:00
Michael Wetherell
ab6ea1ac2f Regenerate the msvc makefiles after TARGET_CPU option added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-16 20:35:41 +00:00
Michael Wetherell
e396018def Use a different manifest for each of x86, amd64 and ia64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-16 20:28:24 +00:00
Michael Wetherell
e40b74ba83 Add CPU_TARGET option to msvc makefiles for targeting AMD64 and IA64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-16 20:25:10 +00:00
Stefan Neis
d6701f32aa Fixed event handling bug as suggested by Lech Wiktor Piotrowski.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-16 17:13:16 +00:00
Michael Wetherell
3fc1adbd94 Implement string inserter for long long. This creates a problem on mingw as gcc
gives a warning unless -Wno-format is used, one of the most useful warnings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:16:59 +00:00
Michael Wetherell
4948c2b6c8 Typo, should be #if not #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:11:05 +00:00
Michael Wetherell
6c1a7bc483 Temporarily disable test that takes a long time to run, needs moving to a named registry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:04:29 +00:00
Michael Wetherell
ea75e99e8f Compilation fix for platforms where size_t is larger than long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:01:25 +00:00
Michael Wetherell
a901c3fde9 Compilation fix, templates are broken on 64-bit VC++ 8.0 beta 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:00:12 +00:00
Michael Wetherell
ac11db3a77 Restore WC_UTF16, required for compilation on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 18:58:06 +00:00
Roman Rolinsky
efa5f7095f fix for correct type of checklist box items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-14 16:16:37 +00:00
Roman Rolinsky
4483a6ed97 iconize properties frame together with main
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-14 16:13:20 +00:00
Vadim Zeitlin
01b8292d11 fixed OnSysWrite() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-14 08:39:02 +00:00
Julian Smart
b71e90034f Added "enabled" support for submenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-13 10:44:50 +00:00
Michael Wetherell
c1b6178278 Implement wx_truncate_cast for VC++ 7.1 and later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-12 15:03:16 +00:00
Michael Wetherell
e5d92e2bef Avoid cast in wx_truncate_cast for intel compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-12 13:05:17 +00:00
Vadim Zeitlin
6495ea3f1d removed .cvsignore entries which were old/unused/duplicated in CVSROOT/cvsignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-12 12:06:11 +00:00
Michael Wetherell
119a60edd3 Manifest files for win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-12 11:47:09 +00:00
Mart Raudsepp
1fd0e166f3 Fix includes in wx/treectrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-12 07:49:14 +00:00
Vadim Zeitlin
9f1a446692 clarified ScrollWindow() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-12 00:20:31 +00:00
Vadim Zeitlin
b719fd8d81 64 bit compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 15:52:49 +00:00
Vadim Zeitlin
b2aba33179 added wx/xrc/xh_treebk.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 15:51:10 +00:00
Dimitri Schoolwerth
b04ada921f fixed argv[0] out of bounds error (argc can be 0 when wxEntry is manually called in a plugin environment for example)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 15:05:03 +00:00
Dimitri Schoolwerth
2b053ae90a fixed MSVC6 compilation error ("C2639: compiler generated default constructor required by unnamed class")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 15:01:50 +00:00
Vadim Zeitlin
42e53e7771 another fix for !USE_PCH: added missing wx/imaglist.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 13:40:39 +00:00
Vadim Zeitlin
2cd354c9c6 compilation fix for !USE_PCH: added missing wx/panel.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 12:50:23 +00:00
Vadim Zeitlin
bc454ef84c invalidate tree size after adding/removing pages; use portable style for the tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 22:30:52 +00:00
Vadim Zeitlin
3e4f8ee256 removed hardcoded DoGetBestSize() implementation; added support for textOnly parameter in GetBoundingRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 22:29:39 +00:00
Vadim Zeitlin
46bde8dcf2 removed duplicated members which have been moved to wxTreeCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 21:49:23 +00:00
Vadim Zeitlin
4c2a39bec1 removed deprecated InsertItem() overload because it masked all the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 21:46:24 +00:00
Vadim Zeitlin
642446e3bf Windows compilation fixes after wxTreeCtrl refactoring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:36:20 +00:00
Vadim Zeitlin
8cee4a304f introduced a common base class for both MSW and generic wxTreeCtrl implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:25:02 +00:00
Vadim Zeitlin
d2dfef5f3f corrected code to really skip stack frames in the beginning and to number the remaining frames correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:11:29 +00:00
Kevin Hock
345bdf13c0 For consistency with other ports, send TEXT event after SELECTED event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 19:10:29 +00:00
Michael Wetherell
6c9ddf03f0 Fix typos: '==' should be '='
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:43:29 +00:00
Vadim Zeitlin
d32e78bd42 refactored wxGTK scrolling: it has now fully-functioning wxScrollHelper and a lot of duplicate code was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:24:27 +00:00
Vadim Zeitlin
87a3ebe978 added GtkUpdateScrollbar; folded some code duplicated for horz/vert orientations in a single branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:22:47 +00:00
Vadim Zeitlin
ee146bca1b added GetWindowSizeForVirtualSize() virtual hook for wxScrolledWindow (cuts down on code duplication in its DoGetBestSize())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:15:34 +00:00
Michael Wetherell
bcaab0f92e Use 'cp -pR' as a fallback for lndir, remove $(shell) construct from makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 16:29:02 +00:00
Jouk Jansen
21a186a1fc Committing in .
Small fixes for OpenVMS

 Modified Files:
 	wxWidgets/include/wx/vms_x_fix.h
 	wxWidgets/src/motif/xmcombo/xmcombo.c
: ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 14:18:40 +00:00
Vadim Zeitlin
583d6b4bd2 regenerated after bakefile change to always create shared-ld-sh under Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 12:59:12 +00:00
Vadim Zeitlin
89ec5d1421 always create shared-ld-sh as we always need it for bundles (even when we don't need it for dylibs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 12:48:40 +00:00
Michael Wetherell
0ffc92133b Make _dist_dir a shadow directory of symlinks rather then copied files, and add
a 'distdir' target to make _dist_dir without creating a tarball.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 10:37:24 +00:00
15 changed files with 230 additions and 19140 deletions

View File

@@ -0,0 +1,75 @@
dnl @synopsis AC_raf_FUNC_WHICH_GETSERVBYNAME_R
dnl
dnl Provides a test to determine the correct way to call
dnl getservbyname_r:
dnl
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
dnl
dnl An example use can be found at
dnl http://raf.org/autoconf/net_getservbyname.c
dnl
dnl Based on Caolan McNamara's gethostbyname_r macro. Based on David
dnl Arnold's autoconf suggestion in the threads faq.
dnl
dnl @category Misc
dnl @author raf <raf@raf.org>
dnl @version 2001-08-20
dnl @license GPLWithACException
AC_DEFUN([AC_raf_FUNC_WHICH_GETSERVBYNAME_R],
[AC_CACHE_CHECK(for getservbyname_r, ac_cv_func_which_getservbyname_r, [
AC_CHECK_FUNC(getservbyname_r, [
AC_TRY_COMPILE([
# include <netdb.h>
], [
char *name;
char *proto;
struct servent *se;
struct servent_data data;
(void) getservbyname_r(name, proto, se, &data);
],ac_cv_func_which_getservbyname_r=four,
[
AC_TRY_COMPILE([
# include <netdb.h>
], [
char *name;
char *proto;
struct servent *se, *res;
char buffer[2048];
int buflen = 2048;
(void) getservbyname_r(name, proto, se, buffer, buflen, &res)
],ac_cv_func_which_getservbyname_r=six,
[
AC_TRY_COMPILE([
# include <netdb.h>
], [
char *name;
char *proto;
struct servent *se;
char buffer[2048];
int buflen = 2048;
(void) getservbyname_r(name, proto, se, buffer, buflen)
],ac_cv_func_which_getservbyname_r=five,ac_cv_func_which_getservbyname_r=no)
]
)
]
)]
,ac_cv_func_which_getservbyname_r=no)])
if test $ac_cv_func_which_getservbyname_r = six; then
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_6)
elif test $ac_cv_func_which_getservbyname_r = five; then
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_5)
elif test $ac_cv_func_which_getservbyname_r = four; then
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_4)
fi
])

View File

@@ -0,0 +1,155 @@
dnl @synopsis AX_FUNC_WHICH_GETHOSTBYNAME_R
dnl
dnl Determines which historical variant of the gethostbyname_r() call
dnl (taking three, five, or six arguments) is available on the system
dnl and defines one of the following macros accordingly:
dnl
dnl HAVE_FUNC_GETHOSTBYNAME_R_6
dnl HAVE_FUNC_GETHOSTBYNAME_R_5
dnl HAVE_FUNC_GETHOSTBYNAME_R_3
dnl
dnl If used in conjunction with gethostname.c, the API demonstrated in
dnl test.c can be used regardless of which gethostbyname_r() is
dnl available. These example files can be found at
dnl http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
dnl
dnl based on David Arnold's autoconf suggestion in the threads faq
dnl
dnl Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten
dnl for Autoconf 2.5x by Daniel Richard G.
dnl
dnl @category InstalledPackages
dnl @author Caolan McNamara <caolan@skynet.ie>
dnl @author Daniel Richard G. <skunk@iskunk.org>
dnl @version 2005-01-21
dnl @license GPLWithACException
AC_DEFUN([AX_FUNC_WHICH_GETHOSTBYNAME_R], [
AC_LANG_PUSH(C)
AC_MSG_CHECKING([how many arguments gethostbyname_r() takes])
AC_CACHE_VAL(ac_cv_func_which_gethostbyname_r, [
################################################################
ac_cv_func_which_gethostbyname_r=unknown
#
# ONE ARGUMENT (sanity check)
#
# This should fail, as there is no variant of gethostbyname_r() that takes
# a single argument. If it actually compiles, then we can assume that
# netdb.h is not declaring the function, and the compiler is thereby
# assuming an implicit prototype. In which case, we're out of luck.
#
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
(void)gethostbyname_r(name) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=no)
#
# SIX ARGUMENTS
# (e.g. Linux)
#
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
struct hostent ret, *retp;
char buf@<:@1024@:>@;
int buflen = 1024;
int my_h_errno;
(void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=six)
fi
#
# FIVE ARGUMENTS
# (e.g. Solaris)
#
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
struct hostent ret;
char buf@<:@1024@:>@;
int buflen = 1024;
int my_h_errno;
(void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=five)
fi
#
# THREE ARGUMENTS
# (e.g. AIX, HP-UX, Tru64)
#
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
struct hostent ret;
struct hostent_data data;
(void)gethostbyname_r(name, &ret, &data) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=three)
fi
################################################################
]) dnl end AC_CACHE_VAL
case "$ac_cv_func_which_gethostbyname_r" in
three)
AC_MSG_RESULT([three])
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_3)
;;
five)
AC_MSG_RESULT([five])
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_5)
;;
six)
AC_MSG_RESULT([six])
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_6)
;;
no)
AC_MSG_RESULT([cannot find function declaration in netdb.h])
;;
unknown)
AC_MSG_RESULT([can't tell])
;;
*)
AC_MSG_ERROR([internal error])
;;
esac
AC_LANG_POP(C)
]) dnl end AC_DEFUN

View File

@@ -1,90 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/generic/scrolwin.h
// Purpose: wxGenericScrolledWindow class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GENERIC_SCROLLWIN_H_
#define _WX_GENERIC_SCROLLWIN_H_
// ----------------------------------------------------------------------------
// headers and constants
// ----------------------------------------------------------------------------
#include "wx/window.h"
#include "wx/panel.h"
extern WXDLLEXPORT_DATA(const wxChar*) wxPanelNameStr;
// default scrolled window style
#ifndef wxScrolledWindowStyle
#define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
#endif
// ----------------------------------------------------------------------------
// wxGenericScrolledWindow
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
public wxScrollHelper
{
public:
wxGenericScrolledWindow() : wxScrollHelper(this) { }
wxGenericScrolledWindow(wxWindow *parent,
wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
: wxScrollHelper(this)
{
Create(parent, winid, pos, size, style, name);
}
virtual ~wxGenericScrolledWindow();
bool Create(wxWindow *parent,
wxWindowID winid,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr);
virtual void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
// lay out the window and its children
virtual bool Layout();
virtual void DoSetVirtualSize(int x, int y);
// wxWindow's GetBestVirtualSize returns the actual window size,
// whereas we want to return the virtual size
virtual wxSize GetBestVirtualSize() const;
// Return the size best suited for the current window
// (this isn't a virtual size, this is a sensible size for the window)
virtual wxSize DoGetBestSize() const;
protected:
// this is needed for wxEVT_PAINT processing hack described in
// wxScrollHelperEvtHandler::ProcessEvent()
void OnPaint(wxPaintEvent& event);
// we need to return a special WM_GETDLGCODE value to process just the
// arrows but let the other navigation characters through
#ifdef __WXMSW__
virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
#endif // __WXMSW__
private:
DECLARE_DYNAMIC_CLASS_NO_COPY(wxGenericScrolledWindow)
DECLARE_EVENT_TABLE()
};
#endif // _WX_GENERIC_SCROLLWIN_H_

View File

@@ -1,193 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/scrolwin.h
// Purpose: wxScrolledWindow class
// Author: Robert Roebling
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_SCROLLWIN_H_
#define _WX_GTK_SCROLLWIN_H_
// ----------------------------------------------------------------------------
// headers and constants
// ----------------------------------------------------------------------------
#include "wx/window.h"
#include "wx/panel.h"
WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
// default scrolled window style
#ifndef wxScrolledWindowStyle
#define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
#endif
// ----------------------------------------------------------------------------
// wxScrolledWindow
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxScrolledWindow : public wxPanel
{
public:
wxScrolledWindow()
{ Init(); }
wxScrolledWindow(wxWindow *parent,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
{ Create(parent, id, pos, size, style, name); }
void Init();
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr);
// Normally the wxScrolledWindow will scroll itself, but in
// some rare occasions you might want it to scroll another
// window (e.g. a child of it in order to scroll only a portion
// the area between the scrollbars (spreadsheet: only cell area
// will move).
virtual void SetTargetWindow( wxWindow *target, bool pushEventHandler = FALSE );
virtual wxWindow *GetTargetWindow() const;
// Set the scrolled area of the window.
virtual void DoSetVirtualSize( int x, int y );
// wxWindow's GetBestVirtualSize returns the actual window size,
// whereas we want to return the virtual size
virtual wxSize GetBestVirtualSize() const;
// Return the size best suited for the current window
// (this isn't a virtual size, this is a sensible size for the window)
virtual wxSize DoGetBestSize() const;
// Set the x, y scrolling increments.
void SetScrollRate( int xstep, int ystep );
// Number of pixels per user unit (0 or -1 for no scrollbar)
// Length of virtual canvas in user units
// Length of page in user units
// Default action is to set the virtual size and alter scrollbars
// accordingly.
virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY,
int noUnitsX, int noUnitsY,
int xPos = 0, int yPos = 0,
bool noRefresh = FALSE );
// Physically scroll the window
virtual void Scroll(int x_pos, int y_pos);
int GetScrollPageSize(int orient) const;
void SetScrollPageSize(int orient, int pageSize);
virtual void GetScrollPixelsPerUnit(int *x_unit, int *y_unit) const;
// Enable/disable Windows scrolling in either direction.
// If TRUE, wxWidgets scrolls the canvas and only a bit of
// the canvas is invalidated; no Clear() is necessary.
// If FALSE, the whole canvas is invalidated and a Clear() is
// necessary. Disable for when the scroll increment is used
// to actually scroll a non-constant distance
virtual void EnableScrolling(bool x_scrolling, bool y_scrolling);
// Get the view start
virtual void GetViewStart(int *x, int *y) const;
// translate between scrolled and unscrolled coordinates
void CalcScrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcScrolledPosition(x, y, xx, yy); }
wxPoint CalcScrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcScrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcUnscrolledPosition(x, y, xx, yy); }
wxPoint CalcUnscrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
virtual void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const;
virtual void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const;
// Override this function to draw the graphic (or just process EVT_PAINT)
virtual void OnDraw(wxDC& WXUNUSED(dc)) {}
// Override this function if you don't want to have wxScrolledWindow
// automatically change the origin according to the scroll position.
void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
// lay out the window and its children
virtual bool Layout();
// Adjust the scrollbars
virtual void AdjustScrollbars();
// Set the scale factor, used in PrepareDC
void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; }
double GetScaleX() const { return m_scaleX; }
double GetScaleY() const { return m_scaleY; }
// implementation from now on
void OnScroll(wxScrollWinEvent& event);
void OnSize(wxSizeEvent& event);
void OnPaint(wxPaintEvent& event);
void OnChar(wxKeyEvent& event);
void GtkVScroll( float value, unsigned int scroll_type );
void GtkHScroll( float value, unsigned int scroll_type );
void GtkVConnectEvent();
void GtkHConnectEvent();
void GtkVDisconnectEvent();
void GtkHDisconnectEvent();
// Calculate scroll increment
virtual int CalcScrollInc(wxScrollWinEvent& event);
// Overridden from wxWidgets due callback being static
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual void DoPrepareDC(wxDC& dc);
protected:
wxWindow *m_targetWindow;
int m_xScrollPixelsPerLine;
int m_yScrollPixelsPerLine;
bool m_xScrollingEnabled;
bool m_yScrollingEnabled;
// FIXME: these next four members are duplicated in the GtkAdjustment
// members of wxWindow. Can they be safely removed from here?
int m_xScrollPosition;
int m_yScrollPosition;
int m_xScrollLinesPerPage;
int m_yScrollLinesPerPage;
double m_scaleY,m_scaleX;
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxScrolledWindow)
};
#endif
// _WX_GTK_SCROLLWIN_H_
// vi:sts=4:sw=4:et

View File

@@ -1,300 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/window.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKWINDOWH__
#define __GTKWINDOWH__
// helper structure that holds class that holds GtkIMContext object and
// some additional data needed for key events processing
struct wxGtkIMData;
//-----------------------------------------------------------------------------
// callback definition for inserting a window (internal)
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK;
typedef void (*wxInsertChildFunction)( wxWindowGTK*, wxWindowGTK* );
//-----------------------------------------------------------------------------
// wxWindowGTK
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK : public wxWindowBase
{
public:
// creating the window
// -------------------
wxWindowGTK();
wxWindowGTK(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
virtual ~wxWindowGTK();
// implement base class (pure) virtual methods
// -------------------------------------------
virtual bool Destroy();
virtual void Raise();
virtual void Lower();
virtual bool Show( bool show = TRUE );
virtual bool Enable( bool enable = TRUE );
virtual bool IsRetained() const;
virtual void SetFocus();
virtual bool AcceptsFocus() const;
virtual bool Reparent( wxWindowBase *newParent );
virtual void WarpPointer(int x, int y);
virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL );
virtual void Update();
virtual void ClearBackground();
virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour );
virtual bool SetCursor( const wxCursor &cursor );
virtual bool SetFont( const wxFont &font );
virtual bool SetBackgroundStyle(wxBackgroundStyle style) ;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual void GetTextExtent(const wxString& string,
int *x, int *y,
int *descent = (int *) NULL,
int *externalLeading = (int *) NULL,
const wxFont *theFont = (const wxFont *) NULL)
const;
#if wxUSE_MENUS_NATIVE
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
#endif // wxUSE_MENUS_NATIVE
virtual void SetScrollbar( int orient, int pos, int thumbVisible,
int range, bool refresh = TRUE );
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual int GetScrollPos( int orient ) const;
virtual int GetScrollThumb( int orient ) const;
virtual int GetScrollRange( int orient ) const;
virtual void ScrollWindow( int dx, int dy,
const wxRect* rect = (wxRect *) NULL );
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP
#ifdef __WXGTK20__
virtual void AddChild( wxWindowBase *child );
virtual void RemoveChild( wxWindowBase *child );
#endif
// implementation
// --------------
virtual WXWidget GetHandle() const { return m_widget; }
// I don't want users to override what's done in idle so everything that
// has to be done in idle time in order for wxGTK to work is done in
// OnInternalIdle
virtual void OnInternalIdle();
// Internal represention of Update()
void GtkUpdate();
// For compatibility across platforms (not in event table)
void OnIdle(wxIdleEvent& WXUNUSED(event)) {}
// wxGTK-specific: called recursively by Enable,
// to give widgets an oppprtunity to correct their colours after they
// have been changed by Enable
virtual void OnParentEnable( bool WXUNUSED(enable) ) {}
// Used by all window classes in the widget creation process.
bool PreCreation( wxWindowGTK *parent, const wxPoint &pos, const wxSize &size );
void PostCreation();
// Internal addition of child windows. differs from class
// to class not by using virtual functions but by using
// the m_insertCallback.
void DoAddChild(wxWindowGTK *child);
// This methods sends wxPaintEvents to the window. It reads the
// update region, breaks it up into rects and sends an event
// for each rect. It is also responsible for background erase
// events and NC paint events. It is called from "draw" and
// "expose" handlers as well as from ::Update()
void GtkSendPaintEvents();
// The methods below are required because many native widgets
// are composed of several subwidgets and setting a style for
// the widget means setting it for all subwidgets as well.
// also, it is nor clear, which native widget is the top
// widget where (most of) the input goes. even tooltips have
// to be applied to all subwidgets.
virtual GtkWidget* GetConnectWidget();
virtual bool IsOwnGtkWindow( GdkWindow *window );
void ConnectWidget( GtkWidget *widget );
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
// Returns the X11 context which renders on the X11 client
// side (which can be remote) and which usually is not
// anti-aliased and is thus faster
// MR: Now returns the default pango_context for the widget as GtkGetPangoDefaultContext to
// not depend on libpangox - which is completely deprecated.
//BCI: Remove GtkGetPangoX11Context and m_x11Context completely when symbols may be removed
PangoContext *GtkGetPangoX11Context();
PangoContext *m_x11Context; // MR: Now unused
#endif
#if wxUSE_TOOLTIPS
virtual void ApplyToolTip( GtkTooltips *tips, const wxChar *tip );
#endif // wxUSE_TOOLTIPS
// Called from GTK signales handlers. it indicates that
// the layouting functions have to be called later on
// (i.e. in idle time, implemented in OnInternalIdle() ).
void GtkUpdateSize() { m_sizeSet = FALSE; }
// fix up the mouse event coords, used by wxListBox only so far
virtual void FixUpMouseEvent(GtkWidget * WXUNUSED(widget),
wxCoord& WXUNUSED(x),
wxCoord& WXUNUSED(y)) { }
// is this window transparent for the mouse events (as wxStaticBox is)?
virtual bool IsTransparentForMouse() const { return FALSE; }
// is this a radiobutton (used by radiobutton code itself only)?
virtual bool IsRadioButton() const { return FALSE; }
// position and size of the window
int m_x, m_y;
int m_width, m_height;
int m_oldClientWidth,m_oldClientHeight;
// see the docs in src/gtk/window.cpp
GtkWidget *m_widget; // mostly the widget seen by the rest of GTK
GtkWidget *m_wxwindow; // mostly the client area as per wxWidgets
// this widget will be queried for GTK's focus events
GtkWidget *m_focusWidget;
#ifdef __WXGTK20__
wxGtkIMData *m_imData;
#else // GTK 1
#ifdef HAVE_XIM
// XIM support for wxWidgets
GdkIC *m_ic;
GdkICAttr *m_icattr;
#endif // HAVE_XIM
#endif // GTK 2/1
#ifndef __WXGTK20__
// The area to be cleared (and not just refreshed)
// We cannot make this distinction under GTK 2.0.
wxRegion m_clearRegion;
#endif
// scrolling stuff
GtkAdjustment *m_hAdjust,*m_vAdjust;
float m_oldHorizontalPos;
float m_oldVerticalPos;
// extra (wxGTK-specific) flags
bool m_needParent:1; // ! wxFrame, wxDialog, wxNotebookPage ?
bool m_noExpose:1; // wxGLCanvas has its own redrawing
bool m_nativeSizeEvent:1; // wxGLCanvas sends wxSizeEvent upon "alloc_size"
bool m_hasScrolling:1;
bool m_hasVMT:1;
bool m_sizeSet:1;
bool m_resizing:1;
bool m_acceptsFocus:1; // true if not static
bool m_hasFocus:1; // true if == FindFocus()
bool m_isScrolling:1; // dragging scrollbar thumb?
bool m_clipPaintRegion:1; // TRUE after ScrollWindow()
#ifdef __WXGTK20__
bool m_dirtyTabOrder:1; // tab order changed, GTK focus
// chain needs update
#endif
bool m_needsStyleChange:1; // May not be able to change
// background style until OnIdle
// C++ has no virtual methods in the constrcutor of any class but we need
// different methods of inserting a child window into a wxFrame,
// wxMDIFrame, wxNotebook etc. this is the callback that will get used.
wxInsertChildFunction m_insertCallback;
// implement the base class pure virtuals
virtual void DoClientToScreen( int *x, int *y ) const;
virtual void DoScreenToClient( int *x, int *y ) const;
virtual void DoGetPosition( int *x, int *y ) const;
virtual void DoGetSize( int *width, int *height ) const;
virtual void DoGetClientSize( int *width, int *height ) const;
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
virtual void DoSetClientSize(int width, int height);
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual void DoCaptureMouse();
virtual void DoReleaseMouse();
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
protected:
// common part of all ctors (not virtual because called from ctor)
void Init();
#ifdef __WXGTK20__
virtual void DoMoveInTabOrder(wxWindow *win, MoveKind move);
// Copies m_children tab order to GTK focus chain:
void RealizeTabOrder();
#endif
// Called by ApplyWidgetStyle (which is called by SetFont() and
// SetXXXColour etc to apply style changed to native widgets) to create
// modified GTK style with non-standard attributes. If forceStyle=true,
// creates empty GtkRcStyle if there are no modifications, otherwise
// returns NULL in such case.
GtkRcStyle *CreateWidgetStyle(bool forceStyle = false);
// Overridden in many GTK widgets who have to handle subwidgets
virtual void ApplyWidgetStyle(bool forceStyle = false);
// helper function to ease native widgets wrapping, called by
// ApplyWidgetStyle -- override this, not ApplyWidgetStyle
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
DECLARE_NO_COPY_CLASS(wxWindowGTK)
};
extern WXDLLIMPEXP_CORE wxWindow *wxFindFocusedChild(wxWindowGTK *win);
#endif // __GTKWINDOWH__

View File

@@ -1,193 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/scrolwin.h
// Purpose: wxScrolledWindow class
// Author: Robert Roebling
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_SCROLLWIN_H_
#define _WX_GTK_SCROLLWIN_H_
// ----------------------------------------------------------------------------
// headers and constants
// ----------------------------------------------------------------------------
#include "wx/window.h"
#include "wx/panel.h"
WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
// default scrolled window style
#ifndef wxScrolledWindowStyle
#define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
#endif
// ----------------------------------------------------------------------------
// wxScrolledWindow
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxScrolledWindow : public wxPanel
{
public:
wxScrolledWindow()
{ Init(); }
wxScrolledWindow(wxWindow *parent,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
{ Create(parent, id, pos, size, style, name); }
void Init();
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr);
// Normally the wxScrolledWindow will scroll itself, but in
// some rare occasions you might want it to scroll another
// window (e.g. a child of it in order to scroll only a portion
// the area between the scrollbars (spreadsheet: only cell area
// will move).
virtual void SetTargetWindow( wxWindow *target, bool pushEventHandler = FALSE );
virtual wxWindow *GetTargetWindow() const;
// Set the scrolled area of the window.
virtual void DoSetVirtualSize( int x, int y );
// wxWindow's GetBestVirtualSize returns the actual window size,
// whereas we want to return the virtual size
virtual wxSize GetBestVirtualSize() const;
// Return the size best suited for the current window
// (this isn't a virtual size, this is a sensible size for the window)
virtual wxSize DoGetBestSize() const;
// Set the x, y scrolling increments.
void SetScrollRate( int xstep, int ystep );
// Number of pixels per user unit (0 or -1 for no scrollbar)
// Length of virtual canvas in user units
// Length of page in user units
// Default action is to set the virtual size and alter scrollbars
// accordingly.
virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY,
int noUnitsX, int noUnitsY,
int xPos = 0, int yPos = 0,
bool noRefresh = FALSE );
// Physically scroll the window
virtual void Scroll(int x_pos, int y_pos);
int GetScrollPageSize(int orient) const;
void SetScrollPageSize(int orient, int pageSize);
virtual void GetScrollPixelsPerUnit(int *x_unit, int *y_unit) const;
// Enable/disable Windows scrolling in either direction.
// If TRUE, wxWidgets scrolls the canvas and only a bit of
// the canvas is invalidated; no Clear() is necessary.
// If FALSE, the whole canvas is invalidated and a Clear() is
// necessary. Disable for when the scroll increment is used
// to actually scroll a non-constant distance
virtual void EnableScrolling(bool x_scrolling, bool y_scrolling);
// Get the view start
virtual void GetViewStart(int *x, int *y) const;
// translate between scrolled and unscrolled coordinates
void CalcScrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcScrolledPosition(x, y, xx, yy); }
wxPoint CalcScrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcScrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcUnscrolledPosition(x, y, xx, yy); }
wxPoint CalcUnscrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
virtual void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const;
virtual void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const;
// Override this function to draw the graphic (or just process EVT_PAINT)
virtual void OnDraw(wxDC& WXUNUSED(dc)) {}
// Override this function if you don't want to have wxScrolledWindow
// automatically change the origin according to the scroll position.
void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
// lay out the window and its children
virtual bool Layout();
// Adjust the scrollbars
virtual void AdjustScrollbars();
// Set the scale factor, used in PrepareDC
void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; }
double GetScaleX() const { return m_scaleX; }
double GetScaleY() const { return m_scaleY; }
// implementation from now on
void OnScroll(wxScrollWinEvent& event);
void OnSize(wxSizeEvent& event);
void OnPaint(wxPaintEvent& event);
void OnChar(wxKeyEvent& event);
void GtkVScroll( float value, unsigned int scroll_type );
void GtkHScroll( float value, unsigned int scroll_type );
void GtkVConnectEvent();
void GtkHConnectEvent();
void GtkVDisconnectEvent();
void GtkHDisconnectEvent();
// Calculate scroll increment
virtual int CalcScrollInc(wxScrollWinEvent& event);
// Overridden from wxWidgets due callback being static
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual void DoPrepareDC(wxDC& dc);
protected:
wxWindow *m_targetWindow;
int m_xScrollPixelsPerLine;
int m_yScrollPixelsPerLine;
bool m_xScrollingEnabled;
bool m_yScrollingEnabled;
// FIXME: these next four members are duplicated in the GtkAdjustment
// members of wxWindow. Can they be safely removed from here?
int m_xScrollPosition;
int m_yScrollPosition;
int m_xScrollLinesPerPage;
int m_yScrollLinesPerPage;
double m_scaleY,m_scaleX;
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxScrolledWindow)
};
#endif
// _WX_GTK_SCROLLWIN_H_
// vi:sts=4:sw=4:et

View File

@@ -1,300 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/window.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKWINDOWH__
#define __GTKWINDOWH__
// helper structure that holds class that holds GtkIMContext object and
// some additional data needed for key events processing
struct wxGtkIMData;
//-----------------------------------------------------------------------------
// callback definition for inserting a window (internal)
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK;
typedef void (*wxInsertChildFunction)( wxWindowGTK*, wxWindowGTK* );
//-----------------------------------------------------------------------------
// wxWindowGTK
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK : public wxWindowBase
{
public:
// creating the window
// -------------------
wxWindowGTK();
wxWindowGTK(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
virtual ~wxWindowGTK();
// implement base class (pure) virtual methods
// -------------------------------------------
virtual bool Destroy();
virtual void Raise();
virtual void Lower();
virtual bool Show( bool show = TRUE );
virtual bool Enable( bool enable = TRUE );
virtual bool IsRetained() const;
virtual void SetFocus();
virtual bool AcceptsFocus() const;
virtual bool Reparent( wxWindowBase *newParent );
virtual void WarpPointer(int x, int y);
virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL );
virtual void Update();
virtual void ClearBackground();
virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour );
virtual bool SetCursor( const wxCursor &cursor );
virtual bool SetFont( const wxFont &font );
virtual bool SetBackgroundStyle(wxBackgroundStyle style) ;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual void GetTextExtent(const wxString& string,
int *x, int *y,
int *descent = (int *) NULL,
int *externalLeading = (int *) NULL,
const wxFont *theFont = (const wxFont *) NULL)
const;
#if wxUSE_MENUS_NATIVE
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
#endif // wxUSE_MENUS_NATIVE
virtual void SetScrollbar( int orient, int pos, int thumbVisible,
int range, bool refresh = TRUE );
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual int GetScrollPos( int orient ) const;
virtual int GetScrollThumb( int orient ) const;
virtual int GetScrollRange( int orient ) const;
virtual void ScrollWindow( int dx, int dy,
const wxRect* rect = (wxRect *) NULL );
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP
#ifdef __WXGTK20__
virtual void AddChild( wxWindowBase *child );
virtual void RemoveChild( wxWindowBase *child );
#endif
// implementation
// --------------
virtual WXWidget GetHandle() const { return m_widget; }
// I don't want users to override what's done in idle so everything that
// has to be done in idle time in order for wxGTK to work is done in
// OnInternalIdle
virtual void OnInternalIdle();
// Internal represention of Update()
void GtkUpdate();
// For compatibility across platforms (not in event table)
void OnIdle(wxIdleEvent& WXUNUSED(event)) {}
// wxGTK-specific: called recursively by Enable,
// to give widgets an oppprtunity to correct their colours after they
// have been changed by Enable
virtual void OnParentEnable( bool WXUNUSED(enable) ) {}
// Used by all window classes in the widget creation process.
bool PreCreation( wxWindowGTK *parent, const wxPoint &pos, const wxSize &size );
void PostCreation();
// Internal addition of child windows. differs from class
// to class not by using virtual functions but by using
// the m_insertCallback.
void DoAddChild(wxWindowGTK *child);
// This methods sends wxPaintEvents to the window. It reads the
// update region, breaks it up into rects and sends an event
// for each rect. It is also responsible for background erase
// events and NC paint events. It is called from "draw" and
// "expose" handlers as well as from ::Update()
void GtkSendPaintEvents();
// The methods below are required because many native widgets
// are composed of several subwidgets and setting a style for
// the widget means setting it for all subwidgets as well.
// also, it is nor clear, which native widget is the top
// widget where (most of) the input goes. even tooltips have
// to be applied to all subwidgets.
virtual GtkWidget* GetConnectWidget();
virtual bool IsOwnGtkWindow( GdkWindow *window );
void ConnectWidget( GtkWidget *widget );
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
// Returns the X11 context which renders on the X11 client
// side (which can be remote) and which usually is not
// anti-aliased and is thus faster
// MR: Now returns the default pango_context for the widget as GtkGetPangoDefaultContext to
// not depend on libpangox - which is completely deprecated.
//BCI: Remove GtkGetPangoX11Context and m_x11Context completely when symbols may be removed
PangoContext *GtkGetPangoX11Context();
PangoContext *m_x11Context; // MR: Now unused
#endif
#if wxUSE_TOOLTIPS
virtual void ApplyToolTip( GtkTooltips *tips, const wxChar *tip );
#endif // wxUSE_TOOLTIPS
// Called from GTK signales handlers. it indicates that
// the layouting functions have to be called later on
// (i.e. in idle time, implemented in OnInternalIdle() ).
void GtkUpdateSize() { m_sizeSet = FALSE; }
// fix up the mouse event coords, used by wxListBox only so far
virtual void FixUpMouseEvent(GtkWidget * WXUNUSED(widget),
wxCoord& WXUNUSED(x),
wxCoord& WXUNUSED(y)) { }
// is this window transparent for the mouse events (as wxStaticBox is)?
virtual bool IsTransparentForMouse() const { return FALSE; }
// is this a radiobutton (used by radiobutton code itself only)?
virtual bool IsRadioButton() const { return FALSE; }
// position and size of the window
int m_x, m_y;
int m_width, m_height;
int m_oldClientWidth,m_oldClientHeight;
// see the docs in src/gtk/window.cpp
GtkWidget *m_widget; // mostly the widget seen by the rest of GTK
GtkWidget *m_wxwindow; // mostly the client area as per wxWidgets
// this widget will be queried for GTK's focus events
GtkWidget *m_focusWidget;
#ifdef __WXGTK20__
wxGtkIMData *m_imData;
#else // GTK 1
#ifdef HAVE_XIM
// XIM support for wxWidgets
GdkIC *m_ic;
GdkICAttr *m_icattr;
#endif // HAVE_XIM
#endif // GTK 2/1
#ifndef __WXGTK20__
// The area to be cleared (and not just refreshed)
// We cannot make this distinction under GTK 2.0.
wxRegion m_clearRegion;
#endif
// scrolling stuff
GtkAdjustment *m_hAdjust,*m_vAdjust;
float m_oldHorizontalPos;
float m_oldVerticalPos;
// extra (wxGTK-specific) flags
bool m_needParent:1; // ! wxFrame, wxDialog, wxNotebookPage ?
bool m_noExpose:1; // wxGLCanvas has its own redrawing
bool m_nativeSizeEvent:1; // wxGLCanvas sends wxSizeEvent upon "alloc_size"
bool m_hasScrolling:1;
bool m_hasVMT:1;
bool m_sizeSet:1;
bool m_resizing:1;
bool m_acceptsFocus:1; // true if not static
bool m_hasFocus:1; // true if == FindFocus()
bool m_isScrolling:1; // dragging scrollbar thumb?
bool m_clipPaintRegion:1; // TRUE after ScrollWindow()
#ifdef __WXGTK20__
bool m_dirtyTabOrder:1; // tab order changed, GTK focus
// chain needs update
#endif
bool m_needsStyleChange:1; // May not be able to change
// background style until OnIdle
// C++ has no virtual methods in the constrcutor of any class but we need
// different methods of inserting a child window into a wxFrame,
// wxMDIFrame, wxNotebook etc. this is the callback that will get used.
wxInsertChildFunction m_insertCallback;
// implement the base class pure virtuals
virtual void DoClientToScreen( int *x, int *y ) const;
virtual void DoScreenToClient( int *x, int *y ) const;
virtual void DoGetPosition( int *x, int *y ) const;
virtual void DoGetSize( int *width, int *height ) const;
virtual void DoGetClientSize( int *width, int *height ) const;
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
virtual void DoSetClientSize(int width, int height);
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual void DoCaptureMouse();
virtual void DoReleaseMouse();
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
protected:
// common part of all ctors (not virtual because called from ctor)
void Init();
#ifdef __WXGTK20__
virtual void DoMoveInTabOrder(wxWindow *win, MoveKind move);
// Copies m_children tab order to GTK focus chain:
void RealizeTabOrder();
#endif
// Called by ApplyWidgetStyle (which is called by SetFont() and
// SetXXXColour etc to apply style changed to native widgets) to create
// modified GTK style with non-standard attributes. If forceStyle=true,
// creates empty GtkRcStyle if there are no modifications, otherwise
// returns NULL in such case.
GtkRcStyle *CreateWidgetStyle(bool forceStyle = false);
// Overridden in many GTK widgets who have to handle subwidgets
virtual void ApplyWidgetStyle(bool forceStyle = false);
// helper function to ease native widgets wrapping, called by
// ApplyWidgetStyle -- override this, not ApplyWidgetStyle
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
DECLARE_NO_COPY_CLASS(wxWindowGTK)
};
extern WXDLLIMPEXP_CORE wxWindow *wxFindFocusedChild(wxWindowGTK *win);
#endif // __GTKWINDOWH__

View File

@@ -1,238 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: include/wx/scrolwin.h
// Purpose: wxScrolledWindow, wxScrolledControl and wxScrollHelper
// Author: Vadim Zeitlin
// Modified by:
// Created: 30.08.00
// RCS-ID: $Id$
// Copyright: (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_SCROLWIN_H_BASE_
#define _WX_SCROLWIN_H_BASE_
#include "wx/window.h"
class WXDLLEXPORT wxScrollHelperEvtHandler;
class WXDLLEXPORT wxTimer;
// ----------------------------------------------------------------------------
// wxScrollHelper: this class implements the scrolling logic which is used by
// wxScrolledWindow and wxScrolledControl. It is a mix-in: just derive from it
// to implement scrolling in your class.
// ----------------------------------------------------------------------------
#if !defined(__WXGTK__) || defined(__WXUNIVERSAL__)
class WXDLLEXPORT wxScrollHelper
{
public:
// ctor and dtor
wxScrollHelper(wxWindow *winToScroll = (wxWindow *)NULL);
void SetWindow(wxWindow *winToScroll);
virtual ~wxScrollHelper();
// configure the scrolling
virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY,
int noUnitsX, int noUnitsY,
int xPos = 0, int yPos = 0,
bool noRefresh = false );
// scroll to the given (in logical coords) position
virtual void Scroll(int x, int y);
// get/set the page size for this orientation (wxVERTICAL/wxHORIZONTAL)
int GetScrollPageSize(int orient) const;
void SetScrollPageSize(int orient, int pageSize);
// Set the x, y scrolling increments.
void SetScrollRate( int xstep, int ystep );
// get the size of one logical unit in physical ones
virtual void GetScrollPixelsPerUnit(int *pixelsPerUnitX,
int *pixelsPerUnitY) const;
// Enable/disable Windows scrolling in either direction. If true, wxWidgets
// scrolls the canvas and only a bit of the canvas is invalidated; no
// Clear() is necessary. If false, the whole canvas is invalidated and a
// Clear() is necessary. Disable for when the scroll increment is used to
// actually scroll a non-constant distance
virtual void EnableScrolling(bool x_scrolling, bool y_scrolling);
// Get the view start
virtual void GetViewStart(int *x, int *y) const;
// Set the scale factor, used in PrepareDC
void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; }
double GetScaleX() const { return m_scaleX; }
double GetScaleY() const { return m_scaleY; }
// translate between scrolled and unscrolled coordinates
void CalcScrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcScrolledPosition(x, y, xx, yy); }
wxPoint CalcScrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcScrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcUnscrolledPosition(x, y, xx, yy); }
wxPoint CalcUnscrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
virtual void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const;
virtual void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const;
// Adjust the scrollbars
virtual void AdjustScrollbars(void);
// Calculate scroll increment
virtual int CalcScrollInc(wxScrollWinEvent& event);
// Normally the wxScrolledWindow will scroll itself, but in some rare
// occasions you might want it to scroll [part of] another window (e.g. a
// child of it in order to scroll only a portion the area between the
// scrollbars (spreadsheet: only cell area will move).
virtual void SetTargetWindow(wxWindow *target);
virtual wxWindow *GetTargetWindow() const;
void SetTargetRect(const wxRect& rect) { m_rectToScroll = rect; }
wxRect GetTargetRect() const { return m_rectToScroll; }
// Override this function to draw the graphic (or just process EVT_PAINT)
virtual void OnDraw(wxDC& WXUNUSED(dc)) { }
// change the DC origin according to the scroll position.
virtual void DoPrepareDC(wxDC& dc);
// are we generating the autoscroll events?
bool IsAutoScrolling() const { return m_timerAutoScroll != NULL; }
// stop generating the scroll events when mouse is held outside the window
void StopAutoScrolling();
// this method can be overridden in a derived class to forbid sending the
// auto scroll events - note that unlike StopAutoScrolling() it doesn't
// stop the timer, so it will be called repeatedly and will typically
// return different values depending on the current mouse position
//
// the base class version just returns true
virtual bool SendAutoScrollEvents(wxScrollWinEvent& event) const;
// the methods to be called from the window event handlers
void HandleOnScroll(wxScrollWinEvent& event);
void HandleOnSize(wxSizeEvent& event);
void HandleOnPaint(wxPaintEvent& event);
void HandleOnChar(wxKeyEvent& event);
void HandleOnMouseEnter(wxMouseEvent& event);
void HandleOnMouseLeave(wxMouseEvent& event);
#if wxUSE_MOUSEWHEEL
void HandleOnMouseWheel(wxMouseEvent& event);
#endif // wxUSE_MOUSEWHEEL
// FIXME: this is needed for now for wxPlot compilation, should be removed
// once it is fixed!
void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }
protected:
// get pointer to our scroll rect if we use it or NULL
const wxRect *GetScrollRect() const
{
return m_rectToScroll.width != 0 ? &m_rectToScroll : NULL;
}
// get the size of the target window
wxSize GetTargetSize() const
{
return m_rectToScroll.width != 0 ? m_rectToScroll.GetSize()
: m_targetWindow->GetClientSize();
}
void GetTargetSize(int *w, int *h)
{
wxSize size = GetTargetSize();
if ( w )
*w = size.x;
if ( h )
*h = size.y;
}
// change just the target window (unlike SetWindow which changes m_win as
// well)
void DoSetTargetWindow(wxWindow *target);
// delete the event handler we installed
void DeleteEvtHandler();
double m_scaleX;
double m_scaleY;
wxWindow *m_win,
*m_targetWindow;
wxRect m_rectToScroll;
wxTimer *m_timerAutoScroll;
int m_xScrollPixelsPerLine;
int m_yScrollPixelsPerLine;
int m_xScrollPosition;
int m_yScrollPosition;
int m_xScrollLines;
int m_yScrollLines;
int m_xScrollLinesPerPage;
int m_yScrollLinesPerPage;
bool m_xScrollingEnabled;
bool m_yScrollingEnabled;
#if wxUSE_MOUSEWHEEL
int m_wheelRotation;
#endif // wxUSE_MOUSEWHEEL
wxScrollHelperEvtHandler *m_handler;
DECLARE_NO_COPY_CLASS(wxScrollHelper)
};
#endif
// ----------------------------------------------------------------------------
// wxScrolledWindow: a wxWindow which knows how to scroll
// ----------------------------------------------------------------------------
#if defined(__WXGTK__) && !defined(__WXUNIVERSAL__)
#include "wx/gtk/scrolwin.h"
#else // !wxGTK
#include "wx/generic/scrolwin.h"
class WXDLLEXPORT wxScrolledWindow : public wxGenericScrolledWindow
{
public:
wxScrolledWindow() { }
wxScrolledWindow(wxWindow *parent,
wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
: wxGenericScrolledWindow(parent, winid, pos, size, style, name)
{
}
private:
DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrolledWindow)
};
#define wxSCROLLED_WINDOW_IS_GENERIC 1
#endif
#endif
// _WX_SCROLWIN_H_BASE_

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff