Commit Graph

31561 Commits

Author SHA1 Message Date
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