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
a33c7045d1
don't put invalid UTF-8 data into wxString if Printf() fails in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 11:26:29 +00:00
Václav Slavík
63415a83f7
(blind) compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 09:57:57 +00:00
Paul Cornett
056b067f47
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 06:34:39 +00:00
Paul Cornett
823fb291ae
remove gtk1 code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 05:56:47 +00:00
Václav Slavík
37a4076eb5
fixed wxComboBox::Replace() to correctly use UTF-8 string even in ANSI build and to compile with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 05:54:26 +00:00
Václav Slavík
8d6c5e4f3f
prefer wxFFile to wxFile if both are available, for better performance (see bug #1736365 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 20:49:27 +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
Václav Slavík
6b6bd02c07
don't propagate wxChildFocusEvent outside of wxTLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:35:57 +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
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
ab6ef7e6e8
more STL fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 11:21:58 +00:00
Václav Slavík
f62262aacf
ANSI/Unix build compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 10:11:55 +00:00
Václav Slavík
062ccd654a
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 06:43:59 +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
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
19984725d5
VC6 doesn't like 'return callToVoidFunc();' statements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 10:06:38 +00:00
Václav Slavík
faa60a4f0b
OS X compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:28:54 +00:00
Václav Slavík
0bf751e7e9
compilation fixes for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:10:37 +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
b724bafee0
fixed signed/unsigned comparison warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 21:38:37 +00:00
Václav Slavík
d23849361d
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 21:33:45 +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
Julian Smart
351c06476d
Faster hex encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:52:47 +00:00
Vadim Zeitlin
4871d34290
initialize the variable as XtVaGetValues() may not do it apparently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:02:56 +00:00
Vadim Zeitlin
e37e082ef2
generate disconnection event if recv() returns 0 in Detected_Read() (patch 1730589)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 11:05:35 +00:00
Vadim Zeitlin
0c1602b8ad
fix custom draw bug for controls with only one column (patch 1731024)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:57:25 +00:00
Vadim Zeitlin
fdb9d2b867
fix SetProcessAffinityMask() prototype (was missing WINAPI, i.e. the all important stdcall) (patch 1731976)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:53:26 +00:00
Vadim Zeitlin
c4cd8712cd
cancel dragging if Esc is pressed (patch 1733657)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:50:40 +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
Robin Dunn
b3cbba47eb
Yielding from a non-gui thread needs to bail out, otherwise we end up
...
possibly sending events in the thread too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:34:54 +00:00
Julian Smart
1a75935d3f
Don't insert a newline when we get text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 12:49:35 +00:00
Václav Slavík
cacd819d0e
removed unused glob.inc file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 04:46:03 +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
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
Václav Slavík
c41845733d
don't crash when using wxHtmlWidgetCell in wxHtmlListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +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
Václav Slavík
48a2e193ec
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:51:25 +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
Václav Slavík
c6255a6eab
removed unneeded wxVaCopy calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 10:54:16 +00:00
Václav Slavík
5a20d2ced0
changed wxLog::OnLog(String) to take wxString instead of wxChar* to avoid unnecessary conversions; added compatibility code so that user code overriding these with char* or wchar_t* argument continues to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 10:04:05 +00:00
Václav Slavík
f8bcb37d99
changed wxFileSelector() etc. functions to use wxString (so that any forms of strings can be used with it, not just wxChar*), while still preserving compatibility with passing NULL to them)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 09:53:17 +00:00
Vadim Zeitlin
c73cff0535
mingw32 doesn't define _tsystem so provide one ourselves (bug 1726904)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 23:00:41 +00:00
Vadim Zeitlin
57beadd2b7
added raw RGB support and colour normalization to PNM handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:09:51 +00:00
Václav Slavík
5b87170050
use iterators in wxStaticText wrapping and escaping code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 17:21:46 +00:00
Vadim Zeitlin
ad8d42f83c
factor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODispatcher class (patch 1729395)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:51:05 +00:00
Vadim Zeitlin
b013c97102
enable non-top tabs workaround for Vista too (replaces patch 1724221)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:17:46 +00:00
Vadim Zeitlin
66160760e1
added msw.font.no-proof-quality system option as it makes more fonts available (feature request 1617941)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:56:36 +00:00
Václav Slavík
ba98e032a7
implemented wxMBConv::IsUTF8() helper for more classes so that all uses of UTF-8 are detected and optimized in wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 12:42:57 +00:00
Vadim Zeitlin
1d5fda5dc6
extract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGridCellAutoWrapStringEditor::Create() to ensure that it honours the base editor parameters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 22:05:12 +00:00
Vadim Zeitlin
1cd5e95c1c
compilation fix: wxColour::GetColor() returns const object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 21:21:01 +00:00
Vadim Zeitlin
e0743e63ea
suppress warnings about void* to uint conversion losing precision (under 64 bit architectures)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 21:19:28 +00:00
Vadim Zeitlin
1878d1ecef
also correct run-time check for gtk_message_dialog_format_secondary_text() availability
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 12:16:05 +00:00
Václav Slavík
c1e10a22b6
use wxString, not wxChar*, in wxCreateDynamicObject() and wxClassInfo::FindClass()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-31 13:08:44 +00:00
Václav Slavík
a1eb65c246
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 22:02:19 +00:00
Robert Roebling
2a5e6d1b3a
Experimenting with cell attributes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:02:33 +00:00
Robert Roebling
b086d55fe1
Implement for selection code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 20:31:53 +00:00
Václav Slavík
6256849fdf
changed wxGTK_CONV* macros to use utf8_str() and FromUTF8() so that we don't do any unnecessary conversions in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:55:09 +00:00
Václav Slavík
6e5f6c7c60
changed wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid unnecessary conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:50:36 +00:00
Václav Slavík
6e9b091980
wxGTK_CONV -> wxGTK_CONV_SYS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:14:13 +00:00
Václav Slavík
c1d028f225
put GtkArray into anonymous namespace, the name is too generic to risk conflicts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:56:41 +00:00
Václav Slavík
7e9b47df4f
1. removed useless GtkStr class, wxGTK_CONV is the way to do the conversion2. don't make unnecessary copies in GtkArray in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 12:53:51 +00:00
Robert Roebling
c7cf729fe4
Correct new_order index in RowsReordered().
...
Only call RowsReordered() if index was not empty
before.
Get some more memory things right.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 11:40:36 +00:00
Václav Slavík
e86d4e59c1
use wxString instead of wxChar* in wxColour::Set/FromString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 10:29:12 +00:00
Julian Smart
b380533ca2
Give the correct colour for notebook pages under Vista with the default theme,
...
if we're using a solid colour background. wxUxThemeEngine::GetThemeColor doesn't
return the correct colour for Aero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 13:15:33 +00:00
Jouk Jansen
65d722ba54
OpenVMS build update
...
Committing in .
Modified Files:
wxWidgets/src/common/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 09:03:28 +00:00
Robert Roebling
b3f62dd521
Invalidate best size after string change in wxChoice.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 08:09:03 +00:00
Robert Roebling
1821abd1ce
Implemented dataview_model notification event to the ctrl
...
(and then the user).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 14:46:52 +00:00
Robert Roebling
63415a4212
Removed wxDataViewViewColumn since it is redundant.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 13:47:49 +00:00
David Elliott
7c5a378ff2
Implement mouse entered, exited, and synthesize move events while the mouse is inside.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 04:22:10 +00:00
David Elliott
a24aa4279a
Allow many Objective-C classes to be uniquified at runtime.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-27 04:52:04 +00:00
Robert Roebling
3b7ab6bda8
Upport latest changes from 2_8 branch (print dialog
...
values settable and clipping)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 22:27:58 +00:00
Robert Roebling
ff9bb105a0
Correct GTK version check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 22:06:47 +00:00
Paul Cornett
1529bc41dc
restructure fullscreen code dealing with hiding bars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 18:47:53 +00:00
Vadim Zeitlin
4efffd8750
fix typo: s/radion/radio/
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 15:00:56 +00:00
Robert Roebling
91fd8ba770
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 08:09:24 +00:00
Stefan Csomor
fa15eac7ec
mac complaining about const to non-const cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 05:45:52 +00:00
Robert Roebling
4b57db792c
Really don't do anything (including not setting the
...
tool's state incorrectly) if pressing on a pressed
radio tool in a toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 19:19:34 +00:00
Julian Smart
921dd444fe
Fix for previous patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 16:51:53 +00:00
Julian Smart
99be3b7c7c
Made toolbar background rebar-like on Vista. Solid grey is OK on XP but jars
...
badly in Vista.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 13:54:44 +00:00
Vadim Zeitlin
81ec6f01f2
compilation fix for non-PCH build, include wx/wxchar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 13:20:41 +00:00
Václav Slavík
6954a1e2c9
implemented wxActivateEvent and restoring focus after a TLW that owned it was destroyed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 12:20:25 +00:00
Paul Cornett
c821db16e6
Remove unneeded wxTLW child inserter function.
...
Simplify wxFrame child inserter.
Use the same signature for all the child inserters.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 05:08:18 +00:00
Vadim Zeitlin
cc67d082f7
deal correctly with having too few items in wxFlexGridSizer (this is not an error, more items could be added later): don't crash and don't assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 01:19:17 +00:00
Vadim Zeitlin
f4f963f4a5
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:53:12 +00:00
Vadim Zeitlin
d76a558d4d
added wxMSW-specific wxEntryStart() overload taking WinMain-like parameters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:52:00 +00:00
Vadim Zeitlin
4dfbedd3f5
fix unreachable code warning in GetUntranslatedString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:46:20 +00:00
Vadim Zeitlin
a0826b119e
disable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used: this fixes the problems with events not being dispatched correctly when the library is reinitialized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 23:53:05 +00:00
Vadim Zeitlin
2afb9e1690
1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
...
inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
for this the real dialog creation is now done on in ShowModal() in all
ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:50:42 +00:00
Vadim Zeitlin
aea33a3e85
don't create wxEventLoop in Initialize(), it's too early to do it there -- wait until it's really needed in MainLoop()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:28:31 +00:00
Vadim Zeitlin
bfd67dca3a
include wx/wxcrtvararg.h needed for wxSscanf() when WXWIN_COMPATIBILITY_2_8 == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 09:57:47 +00:00
Vadim Zeitlin
bc5e942bf3
added wxRect::operator+() and *() (union and intersection); also made other operators friends instead of members (patch 1589175)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:47:29 +00:00
Vadim Zeitlin
a3e70e1f3b
declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:37:22 +00:00
Vadim Zeitlin
84281b92d5
added wxAppTraits::CreateConfig() (patch 1721149)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:50:54 +00:00
Vadim Zeitlin
d71a2d7863
use a different indicator when binding parameters and columns (patch 1718474)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:27:40 +00:00
Vadim Zeitlin
d0bc78e2bf
deprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if they're present (modified patch 1719448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:14:59 +00:00
Vadim Zeitlin
b4ff336e1d
fix wxODCB_PAINTING_SELECTED not being always set (patch 1719364)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 23:58:09 +00:00
Vadim Zeitlin
86d870753c
don't crash in dtor if the dialog had never been shown (patch 1723848)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 23:38:27 +00:00
Václav Slavík
e0b3b9d044
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 19:10:36 +00:00
Robert Roebling
befda04080
[ 1712381 ] CRASH: closing floating panel on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:55:39 +00:00
Robert Roebling
b8a922d0d3
[ 1721029 ] [GTK] memory leak in wxMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:48:37 +00:00
Vadim Zeitlin
2ddff00c92
don't define wxEventLoop class differently in GUI and base, this breaks the
...
ODR and hence results in many problems in practice; instead use wxEventLoopBase
whenever possible and #define wxEventLoop differently in console applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:30:01 +00:00
Vadim Zeitlin
30c15c1d73
remove unused static function (avoids a warning about it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:02:51 +00:00
Vadim Zeitlin
659863d8a7
use wxCoord with GetTextExtent(), not long (the long overloads are deprecated and not available at all with 2.8 compatibility turned off)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:00:35 +00:00
Vadim Zeitlin
35f94ffd66
don't compare wxList::compatibility_iterator with NULL, this operation is undefined and provokes g++ warnings about using NULL in arithmetic expression
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:45:37 +00:00
Vadim Zeitlin
767e083562
pass wxStrings directly to wxFAIL_MSG, there is no need to use c_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:38:40 +00:00
Vadim Zeitlin
2b232d202a
added wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT(s.c_str())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:36:24 +00:00
Vadim Zeitlin
b0bf0e50ea
remove GetStandardCmdLineOptions() which is not needed for wxGTK1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:34:10 +00:00
Václav Slavík
fbaf7d4513
added another needed wxOnAssert overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:24:42 +00:00
Václav Slavík
0accd1cfe8
1. make debugging macros compatible with ANSI build even in Unicode build (i.e., no need to use _T() in message strings)
...
2. save space in binary by using ANSI literals for filenames and expression strings in debug macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:02:57 +00:00
Václav Slavík
a64be16ef8
return reference to non-temporary wxString instance from wxGetTranslation() even when not translating
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 17:44:37 +00:00
Václav Slavík
fe4a282956
debug messages don't need translation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 14:27:16 +00:00
Vadim Zeitlin
c0bfefb6cf
enter wxPendingEventLocker critical section in ProcessPendingEvents() (fixes 1720352)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 14:05:46 +00:00
Václav Slavík
4a32fcf155
compilation fix: wxcrt.h, not crt.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 18:44:34 +00:00
Paul Cornett
e36a8aff9a
simplify client size calculation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 02:35:15 +00:00
Paul Cornett
ab7eba4c38
initialize m_sizeSet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 02:32:50 +00:00
Robert Roebling
fc6557a6f5
Implemented dropdown items in wxToolBar for wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 23:21:47 +00:00
Paul Cornett
59678f3fae
move m_sizeSet out of wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 18:25:15 +00:00
Paul Cornett
949ff63e2f
simplify DoSetClientSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 17:34:42 +00:00
Robert Roebling
d545f8030a
Prepend file:// if the URI in wxLaunchDefaultBrowser()
...
has no scheme and the local file exists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 12:38:34 +00:00
David Elliott
b181f9a580
Implement a hack so the correct wxGUIEventLoop class will be used.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 23:02:55 +00:00
David Elliott
3a4721954c
Add obvious implementation of wxGUIAppTraits::CreateEventLoop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 21:58:19 +00:00
David Elliott
e94cd97dd7
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
...
logging will work even if wxWidgets is reentered after being cleaned up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 21:17:06 +00:00
David Elliott
879180b655
* Add public wxApp::sm_isEmbedded flag like on wxMac. Default initialization
...
to true but a plugin can set it to false to cause wxCocoa to not initialize
things like the application delegate or the menubar manager.
* Fix call to [NSNotificationCenter removeObserver:] to use the correct object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 19:52:14 +00:00
Vadim Zeitlin
10816efb2c
added virtual wxFrame::FindItemInMenuBar(): overriding it in wxMDIParentFrame allows to look for the items in the active child when giving help for the current menu item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 17:03:38 +00:00
Vadim Zeitlin
722ed5bed5
removed unused statusbar parameter from wxFrameBase::ShowMenuHelp()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:44:31 +00:00
Vadim Zeitlin
0d7c4404ac
don't give debug messages about WM_MDISETMENU failure if there was no error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:33:10 +00:00
Vadim Zeitlin
b38e5da178
don't dereference NULL parent in wxMDIChildFrame dtor if it hadn't been really created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:27:25 +00:00
Vadim Zeitlin
68d2c3bedc
call wxAppConsole::CleanUp() from the derived class version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:41:06 +00:00
Vadim Zeitlin
82a4f054a9
delete m_mainLoop on exit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:40:10 +00:00
Vadim Zeitlin
666e33ab46
do use the font in DoGetTextExtent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:21:47 +00:00
Vadim Zeitlin
802e382ff1
compilation fix after wxString changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:19:35 +00:00
Vadim Zeitlin
d1ae263893
override DoGetTextExtent instead of redefining GetTextExtent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:02:17 +00:00
Vadim Zeitlin
81df6af392
undid unnecessary renaming of src/msw/evtloop.cpp to evtloopmsw.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 14:58:11 +00:00
Julian Smart
cc91438c0f
Allow negative line spacing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 12:31:55 +00:00
Paul Cornett
93de378435
gtk version check should be runtime, not compile time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 17:02:14 +00:00
Robert Roebling
fa4f4c58ea
Correct landscape printing in wxPageSetupDialog
...
(upport from 2.8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 10:57:14 +00:00
Václav Slavík
58227f65ca
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 06:17:29 +00:00
Robin Dunn
f6342fb5e6
Apply parts of patch #1719888 to fix compilation on Mac and with
...
monolithic builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 23:12:40 +00:00
Václav Slavík
d6cb12871f
fixed CDATA processing to convert the content to output charset, it should be treated just like text in this respect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 22:35:17 +00:00
Václav Slavík
352d9b8957
fixes for STL build without implicit wxString->char* conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 18:07:05 +00:00
Václav Slavík
26296ac997
wrap all handlers in single extern "C" section instead of lots of them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 18:03:23 +00:00
Robert Roebling
134b124794
Compilation without threads.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 13:08:09 +00:00
Jouk Jansen
0f0223d38a
OpenVMS changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 10:04:24 +00:00
Robert Roebling
729b47568a
[ 1718338 ] wxToolBarGTK: Implement tool right-click handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:51:23 +00:00
Václav Slavík
b5ef33b2ae
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:45:01 +00:00
Václav Slavík
98d2df7443
another PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:18:41 +00:00
Václav Slavík
907f2fabf7
Do not follow HTML links if selecting text (patch #1719577 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:17:11 +00:00
Paul Cornett
35d2f1b82e
need to invert offsets for gdk_pixbuf_scale;
...
remove unneccessary and incorrect optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:14:53 +00:00
Paul Cornett
533b005afd
speed up Rescale 5- to 15-fold by using pixbuf scaling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 02:45:01 +00:00
Václav Slavík
155c2f6c82
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 16:23:28 +00:00
Vadim Zeitlin
8ac09e5213
removed extra semicolons added by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:11:09 +00:00
Václav Slavík
b0c4d5d792
fixed non-const wxString iterators to work when a character is changed to another with different UTF-8 sequence length
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:16:01 +00:00
Vadim Zeitlin
f35c88fcca
removed unused any more file (replaced by wxSelectDispatcher)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:00:38 +00:00
Václav Slavík
19817fd33e
fixed HTML entities parsing broken by wxString changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:54:36 +00:00
Václav Slavík
c4f6f41c84
fall back to DirectFB's builtin font if no fonts are configured
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:38:19 +00:00
Václav Slavík
402dc2145d
log missing font directories with wxLogDebug, not wxLogTrace, for more visibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:37:03 +00:00
Václav Slavík
cc096b11ea
ignore nonexistent font directories silently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:34:23 +00:00
Václav Slavík
209ce629ac
added explanatory comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:09:44 +00:00
Vadim Zeitlin
b46b1d59d6
implement event loop for console applications (heavily modified patch 1715735)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:43:39 +00:00
Vadim Zeitlin
9e9f08b5ed
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:35:28 +00:00
Vadim Zeitlin
bfd0555665
fixed warning about using deprecated GetTextExtent() overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:13:53 +00:00
Vadim Zeitlin
5d465013d6
compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 22:55:09 +00:00
Václav Slavík
dff1625b7d
fixed too restrictive assert: fonts matching is case-insensitive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 16:45:31 +00:00
David Elliott
76adcbf2d1
Remove ObjcPose.h since nothing is using it anymore.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 07:08:40 +00:00
David Elliott
047c1182f9
Rework idle handling so that NSApplication does not need to be subclassed or posed as.
...
Copyright Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 07:00:30 +00:00
Vadim Zeitlin
3c448b2e88
fix for wxUSE_STL=1 build with MSVC8 with _HAS_ITERATOR_DEBUGGING==0 (patch 1712215)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:17:08 +00:00
Václav Slavík
075ff4102b
fixed passing of strings to vararg templates in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 17:18:23 +00:00
Vadim Zeitlin
73049b0db3
getting text colour using the themes API doesn't seem to work, revert to using the global system colours for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 03:16:12 +00:00
Vadim Zeitlin
a9a0ceca5b
added support for drop down toolbar buttons (patch 1713470)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:35:49 +00:00
Vadim Zeitlin
884898a79a
apply the table bg colour between the cells too (patch 1713170)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:11:04 +00:00
Vadim Zeitlin
721d183848
fix wxComboCtrl colours under Windows Vista (patch 1710006)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:54:29 +00:00
Vadim Zeitlin
c06359e617
translate the 'About' string (patch 1717088)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:31:36 +00:00
Václav Slavík
5487ff0f50
use const wxMBConv& instead of wxMBConv& in public methods so that it's possible to pass in temporary objects;
...
don't use global wxConvUTF8 object internally, it may be unavailable at static objects destruction time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:55:24 +00:00
Václav Slavík
163d9efc6b
avoid conversion to wchar_t* when getting UTF-8 value in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:05:37 +00:00
Václav Slavík
6243633c63
fixed wxSVGFileDC::write() to output UTF-8 even in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:00:52 +00:00
Vadim Zeitlin
643de21414
don't try to create surfaces of 0 size, even if the window size is 0 (as it may happen)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 17:16:05 +00:00
Robert Roebling
28c513cb25
Set call event.SetEventObject() from commit_cb for wxKeyEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 16:47:03 +00:00
Vadim Zeitlin
81b635b1ef
use LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 13:01:34 +00:00
Vadim Zeitlin
05c5f28144
don't try to update TLW default button in WM_SET/KILLFOCUS handlers if the TLW is being deleted (bug 1660913)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 12:58:55 +00:00
Mart Raudsepp
beed4c4b53
Fix indentation from tabs to spaces in a few lines I accidentally wrote before fixing my editors settings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 05:39:55 +00:00
Mart Raudsepp
b4e0dd391c
[wxGTK2] Support wxTEXT_ALIGNMENT_JUSTIFIED in wxTextCtrl if gtk+ version is new enough
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 05:29:07 +00:00
Michael Wetherell
f8fc38322f
Compile fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 20:41:44 +00:00
Václav Slavík
c57fe715b2
fixed wxStrto(u)ll to return correct value in endptr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 17:20:17 +00:00
Vadim Zeitlin
cdff92b982
declare variables in the beginning of the block in C files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 15:08:58 +00:00
Vadim Zeitlin
9fcd0bf7f3
added wxListCtrl::SetItemPtrData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:53:21 +00:00
Vadim Zeitlin
f3a8b1b68e
replaced more int/longs with wxCoord
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:46:57 +00:00
Vadim Zeitlin
f9c980f617
use wxCopyRectToRECT instead of duplicating it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 23:38:14 +00:00
Václav Slavík
c5e7a7d769
changed wxString::StartsWidth/EndsWidth to take wxString argument instead of wxChar*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:07:08 +00:00
Václav Slavík
ff0846a09f
return value from wxEditableListBox::Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 17:47:00 +00:00
Václav Slavík
b11af9ed9d
temporary fix for wxDFB compilation in Unicode mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:48:11 +00:00
Václav Slavík
50f1747a7c
take into account DirectFB's removal of some command line arguments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 13:45:32 +00:00
Robert Roebling
ed38aa559c
GTK+ cell renderers are not widget, so use a
...
correct type.
Also found a way to set cell background and
probably other styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 10:38:15 +00:00
Robert Roebling
2970ae54d3
Beginning to make wxDC code compile both before
...
and after the DC reorg to make the transition
smoother (indeed possible).
Move the wxImplDC code to its future place in
dcbase.cpp and wx/dc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 23:47:43 +00:00
David Elliott
4263bab00e
Provide wxLaunchDefaultBrowser implementation for wxCocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:37:06 +00:00
David Elliott
59b28f2a14
Remove wxDCBase DeviceToLogical* and LogicalToDevice* methods which were basically stubs anyway. Fixes link error. Assume that the new common implementations in src/common/dcbase.cpp do the right thing. Not tested.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:33:56 +00:00
David Elliott
c5f0d1f903
Move wxLaunchDefaultBrowser from BASE to CORE per wx-dev discussion.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:13:49 +00:00
Stefan Csomor
653a54d049
adding reference to technote
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:53:23 +00:00
Stefan Csomor
eff41cb91e
if it's a separate thread, it's allowed to hang (perf issue reported by BOINC)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:52:26 +00:00
David Elliott
c24937e4cc
Move src/cocoa/utils.cpp to src/cocoa/utils.mm.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 20:58:04 +00:00
Robert Roebling
395367bcd3
[ 1713933 ] docs for wxEditableListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 07:51:28 +00:00
Vadim Zeitlin
7e0f753950
just return the min size needed by the sizer for the windows with sizers from their DoGetBestSize() instead of adjusting it upwards to the current size via GetWindowSizeForVirtualSize() call: this might be wrong as it could reintroduce the bug fixed in rev 1.66 of src/generic/scrlwing.cpp (but it's not really clear just what exactly this bug was) but the existing code was definitely wrong as the best size of the window must not change as it's being resized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 00:26:43 +00:00
Robert Roebling
d296fd8ff7
More preview code for the DC reorganisation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 20:14:55 +00:00
Václav Slavík
59a14f6984
fix compation with Watcom after latest vararg templates changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 14:11:14 +00:00
Vadim Zeitlin
f74a73b365
fix PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 11:50:18 +00:00
Vadim Zeitlin
fb48a5f865
fix warning about signed/unsigned comparison; use STL-compatible methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 22:15:56 +00:00
Vadim Zeitlin
7608fd01a1
no changes, just deTAbified and fixed really strange indentation of 'else' statements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 22:15:02 +00:00
Vadim Zeitlin
c36d477458
extracted wxAcceleratorEntry code from menucmn.cpp in a separate file (this globally makes sense and also fixes link when wxUSE_MENUS==0)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 22:03:27 +00:00
Vadim Zeitlin
8f3447c289
don't use deprecated GetTextExtent() overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 21:39:04 +00:00
Vadim Zeitlin
d3ae69de98
compilation fix: use DeviceToLogical[XY]() instead of [XY]LOG2DEV()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 21:34:26 +00:00
Paul Cornett
b541538fa5
move definitions from src/gtk/data.cpp to other appropriate places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:49:02 +00:00
Robert Roebling
a23717e506
Apply [ 1712381 ] CRASH: closing floating panel on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:43:02 +00:00
Václav Slavík
26f03c44d0
use utf8_str() in wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:55:59 +00:00
Václav Slavík
b04edcaf5f
use FromUTF8() when loading XML, data coming from Expat are already validated UTF-8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:55:05 +00:00
Paul Cornett
68d9be05da
build fix for wxUSE_DRAGIMAGE==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:48:56 +00:00
Paul Cornett
36866abca3
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:45:11 +00:00
Paul Cornett
e8a301af2e
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:54:57 +00:00
Paul Cornett
1a51ca3303
build fix for wxUSE_CONFIG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:13:30 +00:00
Paul Cornett
27ee942feb
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:07:41 +00:00
Robert Roebling
e8b86d2538
Make wxGTK1.2 compile again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 15:52:53 +00:00
Robert Roebling
cfa87e8121
Moved deprecated code to source file (didn't compile
...
as inlined, somehow).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 15:09:45 +00:00
Vadim Zeitlin
2cd78b2a87
added wxTimerEvent::GetTimer()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:59:25 +00:00
Robert Roebling
0bc58f9580
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:54:35 +00:00
Vadim Zeitlin
cfddeb1067
fix compilation in wxUSE_MENUS==0 case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:48:20 +00:00
Robert Roebling
4c84a0dc49
Fix wxFD_FILE_MUST_EXIST
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:59:12 +00:00
Robert Roebling
bd4e083419
Apply [ 1710684 ] Fix wxAuiNotebook memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:25:17 +00:00
Robert Roebling
90ac8b5005
Apply [ 1713345 ] combobox: cmd accelerators shouldn't steal editing hotkeys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:15:47 +00:00
Vadim Zeitlin
9dcf65d3c1
fixed typo in IsBeingDeleted() test in GetParentForModalDialog()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 12:35:36 +00:00
Robert Roebling
5620726fd7
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:27:42 +00:00
Robert Roebling
091e74e76b
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:20:46 +00:00
Robert Roebling
ad2633bd96
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:16:40 +00:00
Robert Roebling
02e817a239
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:13:53 +00:00
Robert Roebling
c8b26ef59e
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:11:07 +00:00
Robert Roebling
01399dcd57
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 10:01:32 +00:00
Václav Slavík
6626de903e
use wxString instead of const wxChar* in wxFFile public API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 20:57:53 +00:00
Václav Slavík
fcea31d51b
use wxString instead of const wxChar* in wxFile's public API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 19:04:19 +00:00
Václav Slavík
1528e0b85f
use wxFormatString helper class for 'vararg' functions' format argument; this prepares the code for removal of implicit wxString conversion to char* in STL build and also fixes VC6 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 10:41:08 +00:00
Václav Slavík
092ee46f03
fixed DLL linking of wxConvLibc etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 15:35:07 +00:00
Vadim Zeitlin
9d0e03774e
make it possible to override desktop detection using gtk.desktop system option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:46:33 +00:00
Vadim Zeitlin
dee28fdd4d
show the error returned by SmcOpenConnection(); don't call it more than once -- the desktop environment is not going to change while the program is running
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:41:36 +00:00
Václav Slavík
8bd37efca7
fixed reverted #if condition around wxDoLogTraceWchar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:21:54 +00:00
Vadim Zeitlin
50c95f691c
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 12:30:30 +00:00
Václav Slavík
111d99489d
added code for optimized handling of UTF-8 locales: some string operations are more efficient under it and it's possible to completely compile-out support for other locales if the target system is known to only use UTF-8 locales
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 11:05:04 +00:00