Vadim Zeitlin
d2001a563b
added a macro for comparison size_t variables with literal constants, this is less ugly than explicitly casting the arguments to size_t; use it to fix base64 compilation under 64 bit platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:41:07 +00:00
Vadim Zeitlin
8b51786f6e
added wxTo/FromString(wxColour) (part of patch 1753875)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:24:10 +00:00
Robert Roebling
c534e69669
added wxDataViewIndexListModel and sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:07:03 +00:00
Vadim Zeitlin
11f406f91f
allow overriding automatic alpha detection during icon->bitmap conversions (slightly modified patch 1738168)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 22:56:07 +00:00
Václav Slavík
6991087b08
fixed wxMotif to compile in Unicode mode (this is not full Unicode support, all strings must be representable in current locale's charset, similarly to MSLU)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 16:43:31 +00:00
Vadim Zeitlin
b3a7495cbc
removed wxUSE_UXTHEME_AUTO which wasn't used anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:07:16 +00:00
Vadim Zeitlin
f28b24bb6a
removed all MSW-specific options from this file, what were they doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:06:32 +00:00
Vadim Zeitlin
42f9292efb
removed all MSW-specific options from this file, what were they doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:05:11 +00:00
Vadim Zeitlin
f77c0fe312
added wxUSE_REGKEY option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:01:28 +00:00
Vadim Zeitlin
508d12b224
extracted MSW-specific setup.h options to their own wx/msw/setup_inc.h file which is now used to automaitcally generate both wx/msw/setup0.h and setup.h.in by update-setup-h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 12:56:22 +00:00
Vadim Zeitlin
ff42758536
added wxUSE_FONTENUM for wxFontEnumerator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:20:00 +00:00
Vadim Zeitlin
a8ff046ba9
fixes for building wxMSW with --disbale-all-features
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:05:03 +00:00
David Elliott
e875c17db7
wxCocoa: Implement wxTopLevelWindow::SetDefaultItem
...
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 20:35:57 +00:00
David Elliott
e7e97a594d
wxCocoa: Basic support for font underlining:
...
* Make wxWindow::SetFont call wxWindowBase::SetFont.
* Make wxDC::SetFont store the font in existing m_font.
* Make wxFont::GetUnderlined return the m_underlined flag.
* Implement underlining in wxDC::DoDrawText
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 19:05:56 +00:00
Vadim Zeitlin
07b1232d2c
moved wxUSE_CRASHREPORT checks to wx/msw/chkconf.h; added it to setup.h.in so that it gets defined (always as 0 as mingw32 doesn't support it anyhow) for configure builds too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 16:22:50 +00:00
Robert Roebling
ed903e4242
Renamed HasChildren() to IsContainer(), added GetParent() to wxDataViewModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 09:01:52 +00:00
David Elliott
a8780ad5bb
Implement wxWindow::SetCursor to invalidate Cocoa's cursor rects.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 05:40:54 +00:00
Vadim Zeitlin
ce65118e62
make To/From8bit() inline for performance reasons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 01:10:22 +00:00
David Elliott
259502c61d
Implement wxCocoa wxRadioBox event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 18:52:12 +00:00
David Elliott
18359b1945
Make wxRadioButton::SetValue(true) deselect all other wxRadioButton in its group if it is part of a group.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 18:00:32 +00:00
David Elliott
4c1a4c4180
Implement most of wxRadioBox's methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 17:58:38 +00:00
Vadim Zeitlin
6619edf0ea
do platform-specific checks after ensuring that the symbols we use are defined; extract wxGTK-specific checks to wx/gtk/chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 15:47:11 +00:00
Vadim Zeitlin
4f167b46b4
added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:02:28 +00:00
Robert Roebling
4508fcd20a
First work at resort with header click
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 14:09:26 +00:00
Robert Roebling
ef4279890a
First actual sorting for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 13:23:57 +00:00
Robert Roebling
55fbde1232
Some code renaming to avoid confusion. Test editable column in sample.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:01:47 +00:00
Václav Slavík
e93523680b
compilation fix for Borland C++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 11:59:25 +00:00
David Elliott
9ed9755237
Partially implement wxRadioBox for wxCocoa.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 05:41:35 +00:00
Vadim Zeitlin
d42e12e8dd
remove file containing many obsolete defines, if anyone wants to revive MicroWindows support the MicroWin-specific checks should be added to wx/msw/chkconf.h or wx/msw/microwin/chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 23:28:15 +00:00
Vadim Zeitlin
12d0b79493
add wxMilliClockToLong() helper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:14:53 +00:00
Vadim Zeitlin
434e29032f
add wxUSE_BASE64 checks around DoRead/WriteBinary() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:38:42 +00:00
Vadim Zeitlin
8e16c3f2b6
include wx/longlong.h to fix compilation with wxUSE_DATETIME==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:33:27 +00:00
Václav Slavík
7dfe6f2a51
compilation fix for wxStrtod and friends: non-zero int can't be passed as pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 18:52:53 +00:00
Robert Roebling
9d52aad39a
change wxDataViewItem id to void*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:01:05 +00:00
Robert Roebling
704c349086
Patch from Bo for generic wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 10:37:04 +00:00
Vadim Zeitlin
61478ea03f
added wxUSE_CONSOLE_EVENTLOOP around wxConsoleEventLoop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:33:16 +00:00
Vadim Zeitlin
5f1f21d2a5
create greyed image for wxBitmapButton in MSW automatically, as in wxGTK (replaces patch 1734018)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:29:20 +00:00
Václav Slavík
ea88e9bca9
don't export private stc2wx(), wx2stc() functions from wxSTC shared library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 08:10:29 +00:00
Vadim Zeitlin
d31a4a84fb
don't leak epoll descriptor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:22:27 +00:00
Vadim Zeitlin
5e1eac149f
create the single global IO dispatcher in wxFDIODispatcher; don't use wxSelectDispatcher in wxGSocket as the global dispatcher may be of a different type (modified patch 1733626)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:18:38 +00:00
Vadim Zeitlin
7523de907d
replaced wxFDIODispatcher::RunLoop() with Dispatch() which handles only one event at a time (part 1 of the patch 1733626)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:50:38 +00:00
Vadim Zeitlin
af57c51ab7
changed wxFDIODispatcher::UnregisterFD() to take only fd, without flags, and unregister it unconditionally; use ModifyFD() to just change the flags (modified part of patch 1733626)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:41:46 +00:00
Vadim Zeitlin
8ba1644391
added include guard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:09:35 +00:00
Vadim Zeitlin
a187327964
Added wxUSE_CONSOLE_EVENTLOOP and wxUSE_SELECT/EPOLLDISPATCHER guards;
...
put checks for them in the new Unix-specific wx/unix/chkconf.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:06:18 +00:00
Robert Roebling
1e08ad102a
Made wxDataViewCtrl sample use a real, expandabl data tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 13:54:14 +00:00
Václav Slavík
288b6107e1
renamed wxXmlProperty to wxXmlAttribute, plus implied method names changes (bug #1751761 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:07:41 +00:00
Václav Slavík
6a4cbac17a
removed broken and global GetLine() function from wx/protocol/protocol.h; there's already wxProtocol::ReadLine() that actually works
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:30:36 +00:00
Vadim Zeitlin
d3c58c7ec0
use wxLongLong::ToLong() and not GetLo() to extract time_t value in GetTicks(): they are very different on 64 bit platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:43:57 +00:00
Václav Slavík
7da37f2c5d
make it possible to build in ANSI build on Windows again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 09:55:18 +00:00
Robert Roebling
d5025dc00f
More patches from Bo, reduced wxDataViewModel, more sorting preps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 00:35:39 +00:00
David Elliott
64dfdfa28b
Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:03:20 +00:00
Robert Roebling
3b6280beb2
Bo's patch for generic code, more sorting code, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:58:28 +00:00
Vadim Zeitlin
325ab46800
removed Insert() methods which already exist in the base wxControlWithItems class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:04:07 +00:00
Paul Cornett
1d66b09982
fix MDI child sizing, which was working more or less by accident before I broke it in rev 46223
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 07:01:54 +00:00
Václav Slavík
f24fc8367d
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 06:13:52 +00:00
Vadim Zeitlin
5814e8ba4e
added support for binary data to wxConfig (slightly modified patch 1736788)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:11:03 +00:00
Vadim Zeitlin
b0fc907f70
added wxUSE_SVG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:52:41 +00:00
Vadim Zeitlin
8e10778e0e
cleanup: indentation, line length, don't include unneeded headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:42:37 +00:00
Vadim Zeitlin
fae8664187
compilation fixes for wxUSE_MSGDLG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:51 +00:00
Vadim Zeitlin
c052164410
compilation fixes for wxUSE_IMAGE==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:11 +00:00
Vadim Zeitlin
3c029873c6
check for wxUSE_TIMER in headers, not the files including them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:00:33 +00:00
Vadim Zeitlin
bd08f2f766
compilation fixes for wxUSE_LONGLONG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:19:17 +00:00
Vadim Zeitlin
8c7f47ddde
don't include wx/unix/private/timer.h from evtloop.h, it's only needed in .cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:11:04 +00:00
Václav Slavík
dc300f9ffc
compilation fix for gcc<3.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 20:13:59 +00:00
Václav Slavík
c3ee702552
implemented raw bitmap access for wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 16:49:19 +00:00
Václav Slavík
650c0aa918
cleanup of raw access to bitmaps:
...
1. remove UseAlpha() on platforms that don't need it and call it automatically from ~wxPixelData instead of requiring explicit call; deprecate wxPixelData::UseAlpha()
2. don't call UngetRawData() if GetRawData() failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 13:32:25 +00:00
Robert Roebling
a596eeb93f
Block all events in wxSpinButton::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:58:03 +00:00
Robert Roebling
28529e37e2
Block all events in wxSpinCtrl::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:50:14 +00:00
Robert Roebling
0bf36922c8
Block all events in wxSpinCtrl::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:48:23 +00:00
Vadim Zeitlin
92bf6cc15a
Also added wxFFileStream::IsOk() and corrected IsOk() implementations of
...
wxFileInput/OutputStream to call the immediate base class version of this
method and not wxStreamBase one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:02:54 +00:00
Vadim Zeitlin
4db03d266b
added functions for base64 en/decoding (replaces patch 1739431)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 01:51:43 +00:00
Vadim Zeitlin
a6ac8d7582
added wxFileStream::IsOk() (patch 1749587)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 16:59:09 +00:00
Vadim Zeitlin
033bf67c3c
added missing WXDLLIMPEXP_CORE for wxGetDisplay() for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:18:32 +00:00
Robert Roebling
5732efaa91
Add compare function to wxDataViewModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 12:32:59 +00:00
Robert Roebling
aba9bfd00a
Bo'd patch to make wxDataViewCtrl compile again (4th attempt
...
to actually commit).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:38:22 +00:00
Václav Slavík
0ff20b9f00
added GCC visibility support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:12:51 +00:00
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Václav Slavík
57e2b887a0
removed unsecure wxTmpnam() function (patch by Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 19:06:03 +00:00
Václav Slavík
6dc2e82330
fix Watcom compilation: removed templates for wxFileSelector() compatibility with passing NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 08:40:37 +00:00
Václav Slavík
c5cf866314
removed wxWCHAR_T_IS_SEPARATE_TYPE: there already was wxWCHAR_T_IS_REAL_TYPE with the exact same meaning and definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 07:04:38 +00:00
Paul Cornett
0728199b91
process pending wx events before sending idle events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
David Elliott
9ed8b5a7b2
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
...
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 22:10:02 +00:00
David Elliott
991dd5beb9
Add support for wxFONTENCODING_MACKEYBOARD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:56:46 +00:00
Robert Roebling
9bb3f212e2
GCC doesn't like inline wxDEPRECATED methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 14:09:22 +00:00
Václav Slavík
e966f815d4
changed wxVectorBase and WX_DECLARE_BASE into wxVector<T> template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 10:09:42 +00:00
David Elliott
e4dd1e19a2
Move wxMBConv_cf out of strconv.cpp and into strconv_cf.(cpp|h) by forking the files (svn copy) and removing the appropriate portions from each fork.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 02:56:40 +00:00
Václav Slavík
af717fa87a
fixed to make wxVariant compatible with both ANSI and Unicode modes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 23:02:16 +00:00
Václav Slavík
e2badebb8f
added alpha channel support to wxDFB's wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:24:28 +00:00
Vadim Zeitlin
5a83f42b3a
use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl, library)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:40:45 +00:00
Václav Slavík
c2d122aa7d
added missing wxUniChar::operator=(wxUniCharRef)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:40:36 +00:00
David Elliott
4799f3baab
Make wxCocoa compile in 64-bit mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 00:18:28 +00:00
David Elliott
d23bf09c7f
Implement wxColour constructors to match other ports by adding char const * and wchar_t const * constructors.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:20:40 +00:00
Bryan Petty
5a0ed193cd
Added deprecation warnings to old wxVScrolledWindow functions (in wxVarVScrollLegacyAdaptor), and fixed a minor documentation format error in the wxVScrolledWindow docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:42:39 +00:00
Václav Slavík
50b2d54446
added missing WXDLLIMPEXP_CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:59:27 +00:00
Robert Roebling
5debbdcf7b
The dataview sample compiles now, but doesn't work yet...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 14:59:16 +00:00
Robert Roebling
e0062c047e
New API for wxdataViewCtrl (doesn't run yet).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 00:13:28 +00:00
Vadim Zeitlin
60edcf4535
added support for broadcasting to UDP sockets (patch 1740266)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:33:11 +00:00
Paul Cornett
cedd7b22f4
indentation cleanup, unused variables, constant expressions, etc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:36 +00:00
Vadim Zeitlin
cde76cf2a9
added wxAtomicInc/Dec() functions (patch 1739486)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:14 +00:00
Vadim Zeitlin
ebdc834105
test whether HAVE_VSWPRINTF is defined, not whether it's 0 or 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 11:49:22 +00:00
Václav Slavík
30f3757b50
wxStrcoll_String compilation fixes for Dmars and Borland compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 21:26:35 +00:00
Václav Slavík
4e0a055757
compilation fix for windows compilers: _wrename is declared in io.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 21:11:46 +00:00
Julian Smart
f49fd6d0cd
Added SetBitmap, GetBitmap to wxWizard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:48 +00:00
Julian Smart
98d9f577ea
Replaced tabs with spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 07:49:23 +00:00
Benjamin Williams
d16619f8d0
in wxAuiNotebook, prevent unwanted page selection changes during tab drags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 15:39:22 +00:00
Václav Slavík
b052a864e9
silenced Watcom warning when deleting const pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 12:42:31 +00:00
Václav Slavík
d4e5987995
explicitly cast m_value to the resulting type in wxUniChar's integer conversion operators to silence compiler warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 12:32:10 +00:00
Vadim Zeitlin
56eeb97339
add wxUSE_EDITABLELISTBOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 19:23:44 +00:00
Václav Slavík
87f351de6c
STL compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 11:17:35 +00:00
Václav Slavík
4d62edfb07
wxUniChar wchar_t handling fixes for Borland, DMC and Watcom compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 19:11:09 +00:00
Julian Smart
dee059c469
Prevent seg fault for older GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 16:58:58 +00:00
Václav Slavík
75ce4cb180
return const wxString& from wxFontMapper::GetDefaultConfigPath()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:57:36 +00:00
Václav Slavík
cfa3d7ba83
ANSI+Unicode compatibility fixes to wxArrayString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:56:00 +00:00
Václav Slavík
d7640339e9
dont use wxChar* arguments in wxHTML API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 17:33:59 +00:00
Václav Slavík
330e8ab901
dont use wxChar* arguments in wxDatePickerCtrlGeneric API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 17:03:42 +00:00
Václav Slavík
46ff9bd5dd
don't use wxChar* arguments in wxLogWindow API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 16:59:06 +00:00
Václav Slavík
42fc0309be
don't assign m_next twice in wxStringIteratorNode ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:52:09 +00:00
Václav Slavík
39c20230ba
1. added default constructors for wxString iterators
...
2. fixed assignment of iterator to iterator that points to a different string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:49:58 +00:00
Václav Slavík
e6310bbc5a
added wxString::FromAscii(char*,size_t) for consistency with FromUTF8()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:36:54 +00:00
Vadim Zeitlin
edc0987174
CanAcceptFocus() now returns true if either the window itself or one of its children accepts focus; added new IsFocusable() to test whether the window itself accepts focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:04:06 +00:00
Václav Slavík
4e21a649f0
fixed typo in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 08:46:04 +00:00
Václav Slavík
5abefd049e
compatibility fix: have wxListKey ctors from C strings so that passing string literals to functions expecting wxListKey works
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 20:50:15 +00:00
Benjamin Williams
69f5e42053
added middle-click close to wxAuiNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 17:38:29 +00:00
Vadim Zeitlin
7b1bf3ad2d
added wxLog::DisableTimestamp() to be used as a synonym for SetTimestamp(wxEmptyString)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 12:09:55 +00:00
Vadim Zeitlin
db23ced867
remove .cvsignore files, they're useless with svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:41:53 +00:00
Václav Slavík
21f0762a1a
fixes to wint_t and wchar_t handling in unichar.h (fixes FreeBSD compilation and Mingw compilation with -pedantic)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 20:44:58 +00:00
Václav Slavík
13f071c06b
include wxUniCharRef::operator&& unconditionally too, not just wxUniChar one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 14:36:06 +00:00
Václav Slavík
8a02058ab2
added configure check for wcsdup(), there are too many Unix systems without it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 11:58:21 +00:00
Václav Slavík
bdcb213757
compilation fix if wxLongLong_t is not available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 17:53:30 +00:00
Václav Slavík
28efe6544f
don't use C++ comments in C files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 15:07:20 +00:00
Václav Slavík
d45127a543
removed executable bit on files that aren't executables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 14:04:34 +00:00
Robert Roebling
40e5ebbf98
Upport scrolling changes and mouse wheel changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 16:55:26 +00:00
Vadim Zeitlin
8019a67305
remove #if around operator&&(), its needed for other compilers too (Sun CC 5.9) and doesnt seem to hurt the ones which do not need it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 20:27:07 +00:00
Vadim Zeitlin
b99891b0c8
suppress virtual function hiding warnings due to the existence of several DoLog() and DoLogString() overloads of which only one is overridden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:09:03 +00:00
Vadim Zeitlin
b69ae27a05
don't redefine __WCHAR_TYPE__ when using Sun CC if it's already defined (as is the case at least under Linux)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:22:05 +00:00
Vadim Zeitlin
be3dcfb31a
Sun CC (at least version 5.9) has wint_t as a separate type too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:59:48 +00:00
Vadim Zeitlin
2686d9339b
fix __SUNCC__ definition; added wxCHECK_SUNCC_VERSION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:58:05 +00:00
Václav Slavík
4fc1c0f091
made wxUSE_UNICODE=1 the default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:38 +00:00
Václav Slavík
57c42b6227
normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:28:59 +00:00
Václav Slavík
d3e9a6f3bf
have only one string form of operator<< in output streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:12:21 +00:00
Václav Slavík
50e2789913
normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:10:36 +00:00
Vadim Zeitlin
76de6a6e20
don't use DLL export declaration with inline functions, it is ignored and just results in a warning from mingw32 3.4.5 cross-compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 22:29:07 +00:00
Vadim Zeitlin
76bfdc9ad9
changed AddPendingEvent() to take const wxEvent reference, it doesn't need to modify it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:56:50 +00:00
Julian Smart
fc17828ab2
Added font setting and ability to determine AUI notebook height for a given page height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Julian Smart
47fe7ff382
Added DetachOldLog to avoid destruction of old log target
...
Renamed wxLogPassThrough to wxLogInterposer
Added wxLogInterposerTemp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 12:44:38 +00:00
Václav Slavík
7978bc7293
remove implicit conversion to C strings from wxString if wxUSE_STL=1; this fixes problems with converting between wxString and std::string in some situations at the cost of having to use c_str() explicitly just as you have to when using std::string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:47:51 +00:00
Václav Slavík
e0a050e347
more changes to make wx compile without implicit wxString->char* conversion (for STL build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:44:45 +00:00
Václav Slavík
d38f70b249
use wxString in wxRegKey methods; make it compile without implicit wxString->char* conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:09:14 +00:00
Václav Slavík
90a77e6484
make wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favour of wxUnsetEnv()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 20:02:49 +00:00
Václav Slavík
00711afdd6
return wxString from wxDynamicLibrary::GetDllExt()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:29:07 +00:00
Václav Slavík
593177c566
use wxString in wxFileSystem::FindFileInPath()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 17:39:27 +00:00
Václav Slavík
d993e05b2d
wxLog::Get/Settimestamp() now use wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 14:51:10 +00:00
Václav Slavík
a5398eb9c4
return wxString from wxTextBuffer::GetName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 13:54:23 +00:00
Václav Slavík
dc65c743e5
changed wxFFileOutput/InputStream ctor 'mode' argument to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 11:57:48 +00:00
Václav Slavík
35f1f4f7ea
changed wxGLContext::SetColour() argument from wxChar* to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 11:54:36 +00:00
Václav Slavík
c5d7b81ecf
improve XRC loading performance on Unix by avoiding MIME database loading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:43:34 +00:00
Václav Slavík
300b44a933
fixed wxString iterators linked list corruption
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 08:55:11 +00:00
Václav Slavík
69cce15178
determine wxFSFile's MIME type when wxFSFile::GetMimeType() is called instead of creating it; this dramatically improves startup times of XRC applications on Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 10:59:01 +00:00
Vadim Zeitlin
b01204c942
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:57:25 +00:00
Václav Slavík
994f04a3f2
wxUSE_STL compilation fixes for wxGenericFontDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 17:32:09 +00:00
Václav Slavík
410390cf09
removed code for compatibility with OS X <= 10.2, 10.3 is the minimum since wx-2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 17:15:16 +00:00
Vadim Zeitlin
80820772ad
changed wxIsxxx() to return bool, not int, to avoid int->bool conversion warnings from VC++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:45:01 +00:00
Václav Slavík
f966a73d40
fixed FromUTF8() to accept NULL as well as len==npos; this fixes crashes when loading XML files in UTF-8 build with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:29:52 +00:00
Vadim Zeitlin
1663c65500
show the unhandled exceptions in debug build instead of silently eating them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:20:16 +00:00
Vadim Zeitlin
724b119a15
replace wxDocument::GetPrintableName(wxString&) and wxDocManager::MakeDefaultName(wxString&) with GetUserReadableName() and MakeNewDocumentName() which return wxStrings directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:49:56 +00:00
Václav Slavík
6ae3ead6f0
always compile at least a minimal version of wxStandardPaths class, it's used too often
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:21:57 +00:00
Václav Slavík
c560da981a
use char* instead of wxChar* for XRC IDs to save space; GetXRCID() takes wxString argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:12:51 +00:00
Vadim Zeitlin
5d88a6b579
added wxDEPRECATED_BUT_USED_INTERNALLY macro and use it for the old wxLog::DoLog() overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:08:51 +00:00
Jouk Jansen
28ffb1f22f
Committing in .
...
Changes to make OpenVMS compile WX
Modified Files:
wxWidgets/include/wx/wxcrt.h wxWidgets/include/wx/wxcrtbase.h
wxWidgets/src/common/wxcrt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 12:52:25 +00:00
Václav Slavík
049908c573
make wxFrame a wxControlContainer too, so that it behaves in the same way as wxDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 16:29:23 +00:00
Vadim Zeitlin
105260e89f
overload wxStrpbrk() for more types and add tests for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:31:09 +00:00
Václav Slavík
1757c449c4
removed redundant #include <dynarray.h>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:09:41 +00:00
Vadim Zeitlin
7c37eb10fd
added wxNullPtr and use it instead of just 0 with wxFileTypeInfo vararg ctor to fix crashes under 64 bit architectures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 11:32:44 +00:00
Václav Slavík
e9c7391947
added missing #includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 10:52:10 +00:00
Václav Slavík
12e8247795
use wxString in wxDateTime methods (only partially done)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 18:41:27 +00:00
Václav Slavík
a007b626a7
wxUSE_UNICODE_MSLU compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 17:08:23 +00:00
Václav Slavík
541aa82180
fixed VC6 warnings about non-dllexported members in dllexported classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 19:59:11 +00:00
Václav Slavík
ae51cebbe6
compilation fix for gcc 3.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 19:57:01 +00:00
Julian Smart
f728025eae
Added a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 17:16:59 +00:00
Václav Slavík
4e5b3a4eb5
added long int operators to wxUniChar (fixes wxMac compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:16:14 +00:00
Václav Slavík
5bce3e6feb
use wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility with STL build without implicit wxString conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:11:15 +00:00
Václav Slavík
01c0981e75
added wchar_t, wxUniChar overloads for wxStrchr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:00:09 +00:00
Václav Slavík
ec74e45971
gcc on OS X has problems with compiling empty files on SMB shares, added a comment to make macsock.h non-empty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:49:10 +00:00
Václav Slavík
8728cae3bf
OS X compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:12:37 +00:00
Václav Slavík
872ef9434a
ATTRIBUTE_PRINTF doesn't work with wchar_t* format strings in gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:34:45 +00:00
Václav Slavík
3a3dde0d44
use wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add comments explaining that users should include wx/crt.h to implementation headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:08:13 +00:00
Václav Slavík
eb9524ca66
1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
...
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 20:44:27 +00:00
Václav Slavík
8650108199
don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:42:41 +00:00
Václav Slavík
52de37c78f
1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
...
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:14:14 +00:00
Vadim Zeitlin
c475be6dfa
make PositionTextCtrl() virtual (patch 1734405)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 16:32:06 +00:00
Václav Slavík
1fc10687bf
added wxUniChar::AsUTF8() for easy conversion in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 20:17:34 +00:00
Julian Smart
125892b804
Init fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Robert Roebling
c0a66d9237
Added initial OS X implementation of the wxDataViewCtrl
...
in its current tabular form.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 23:40:24 +00:00
Václav Slavík
aec1621e4f
marked WinCE implementations of wxOpen etc. functions as dllexported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 15:56:44 +00:00
Václav Slavík
eb6cb20793
fixed wxScanf() etc. to compile with Visual C++ again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 13:48:24 +00:00
Vadim Zeitlin
4c2a8d899d
compilation fix after last commit: make wxAppConsole a class, not typedef, under non-Unix as we can't forward declare a typedef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 17:31:10 +00:00
Vadim Zeitlin
e0954e729d
rename old wxAppConsole to wxAppConsoleBase and wxAppConsoleUnix to wxAppConsole for consistency with wxAppBase/wxApp and to fix the bug 1729377 (crash when using timers under Unix in console app); also #define wxApp as wxAppConsole instead of declaring it as a real class in console build to avoid problems with ODR violation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:39:23 +00:00
Vadim Zeitlin
74e10fcc6a
reset one shot timer internal state instead of leaving it thinking that it's still running (mdified patch 1730597)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:34:54 +00:00
Václav Slavík
c49f887978
wxSscanf() and friends are now Unicode+ANSI friendly wrappers instead of defines for CRT functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:56:50 +00:00
Vadim Zeitlin
45344b3880
provide overloads for all kinds of strings for wxDataFormat ctor to allow passing strings as formats implicitly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:50:43 +00:00