Commit Graph

8266 Commits

Author SHA1 Message Date
Stefan Neis
cf44a61c24 Added implementation for wxLocaltime_r/wxGmtime_r.
Improved handling of windows compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 19:24:11 +00:00
Vadim Zeitlin
b2ff89d648 1. changed wxControl::GetLabel() to return the originally provided label and
not the one stripped from mnemonics (this was inconsistent with the other
   ports and resulted in problems when using wxUpdateUIEvent::SetText())
2. added wxControl::GTKConvertMnemonics(), GTKRemoveMnemonics() and also
   helper GTKSetLabelForLabel() and GTKSetLabelForFrame() wrappers
3. use them instead of duplicating their code in different derived controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:37:56 +00:00
Vadim Zeitlin
d1d40c2176 removed GetLabel() which didn't do anything but forwarding to wxControl version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:34:17 +00:00
Vadim Zeitlin
33d5c15653 blatant compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:03:26 +00:00
Julian Smart
b71e9aa4e2 Separated XML and HTML rich text I/O handlers
Cleaned up XML I/O
Added HTML handler to build system
Added encoding member for saving files output


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:31:07 +00:00
Stefan Neis
a452689b23 Use thread-safe functions where possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-17 22:01:43 +00:00
Vadim Zeitlin
1fc8cfbd81 friend declarations are not injected in the enclosing scope by conforming compilers such as g++ 4, so fix compilation by always providing real declarations for operator+(wxString,anything)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 01:55:48 +00:00
Mart Raudsepp
b16de7461a Remove my binary compatibility stuff from HEAD. Patch #1367014 used for reference.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 02:46:20 +00:00
Włodzimierz Skiba
b706528b9e wxUSE_DISPLAY impossible with eVC3 (SDKs 2002).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-11 16:11:15 +00:00
Stefan Csomor
1628261e2b support for standard command IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:24:55 +00:00
Włodzimierz Skiba
2ad495fb65 wxDisplay support for wxWinCE port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 14:40:26 +00:00
Václav Slavík
04f109ec63 made wxHtmlWindow::SetPage virtual so that the behaviour can be customized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 12:34:29 +00:00
David Surovell
739b752912 applied patch 1376506 - remove unneeded member variable from GTK wxRadioButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:44:46 +00:00
David Surovell
ddfcd9aae4 fix binary math in alignment flag assignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-06 16:34:30 +00:00
Vadim Zeitlin
6ffc9aa8a4 fixed typo in previous commit which, instead of fixing the bug in wxSizerflags::Align(), made it worse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-06 12:33:24 +00:00
David Surovell
d806d30a0f applied patch 1372197, with some minor mods and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 17:55:33 +00:00
Michael Wetherell
7c6c0acf9d Silence warning from bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 14:30:30 +00:00
Václav Slavík
5996fb421d fixed wxComboBox::Clear to clear stored value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 12:55:34 +00:00
Vadim Zeitlin
1661354b77 implemented IsItemEnabled/Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:28:18 +00:00
Vadim Zeitlin
27c78e4552 1. derive wxGTK wxRadioBox from wxRadioBoxBase now, as in all other ports
2. implemented wxRadioBox::IsItemShown/Enabled() for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:39:23 +00:00
Vadim Zeitlin
b47f1f95f3 added wxSUPPRESS_GCC_PRIVATE_DTOR_WARNING macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:31:19 +00:00
Vadim Zeitlin
21e0a4d5f1 1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
2. also implement Getcolumn/RowCount() in it now and document them
3. removed various remains of old (pre-wxRadioBoxBase) cruft

sorry in advance for any compilation breakage on the platforms I can't test on


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:28:15 +00:00
Michael Wetherell
8e50d1add6 Make Eof() consistent with other streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 12:41:48 +00:00
David Surovell
4d53859584 minor refactoring of menu UpdateUI handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:59:38 +00:00
Włodzimierz Skiba
0b04c4e0bd Missing wxUSE_PALETTE markup (#1369489).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:58:37 +00:00
Vadim Zeitlin
00dc67b891 fixed bug in wxSizerFlags::Align/Expand() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 23:05:50 +00:00
Vadim Zeitlin
3bfa7be977 added wxRadioBox::IsItemEnabled/Shown() (for MSW only for now, other platforms to come); corrected Enable/Show() return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 19:26:38 +00:00
Michael Wetherell
2f1834d9f2 Remove pragma interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 17:48:10 +00:00
Mart Raudsepp
da9e956384 Make wxJoystick::GetNumberJoystick a static method, as the number of
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Vadim Zeitlin
f5e3d9463b guard grid XRC handler by #if wxUSE_GRID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 00:54:02 +00:00
Vadim Zeitlin
4292eeb4eb fix unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 00:19:38 +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
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
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
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
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
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
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
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
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
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
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
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
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