]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Mon, 4 Jun 2007 13:39:23 +0000 (13:39 +0000)]
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
Vadim Zeitlin [Mon, 4 Jun 2007 13:34:54 +0000 (13:34 +0000)]
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
Václav Slavík [Mon, 4 Jun 2007 12:56:50 +0000 (12:56 +0000)]
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
Václav Slavík [Mon, 4 Jun 2007 12:51:25 +0000 (12:51 +0000)]
compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46322
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 4 Jun 2007 12:50:43 +0000 (12:50 +0000)]
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
Vadim Zeitlin [Mon, 4 Jun 2007 11:02:29 +0000 (11:02 +0000)]
add wx/unix/private directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46320
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 4 Jun 2007 10:54:16 +0000 (10:54 +0000)]
removed unneeded wxVaCopy calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46319
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 4 Jun 2007 10:04:05 +0000 (10:04 +0000)]
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
Václav Slavík [Mon, 4 Jun 2007 09:53:17 +0000 (09:53 +0000)]
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
Václav Slavík [Mon, 4 Jun 2007 09:01:37 +0000 (09:01 +0000)]
added comment explaining the condition for compiling manifest into resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46316
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Jun 2007 23:00:41 +0000 (23:00 +0000)]
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
Vadim Zeitlin [Sun, 3 Jun 2007 22:35:40 +0000 (22:35 +0000)]
initialize wxListItem::m_image to -1 (which means no image), not 0 (bug
1727909 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46312
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Jun 2007 22:13:43 +0000 (22:13 +0000)]
corrected wrong change description: raw RGB support was already there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46310
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Jun 2007 22:09:51 +0000 (22:09 +0000)]
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
Vadim Zeitlin [Sun, 3 Jun 2007 22:03:43 +0000 (22:03 +0000)]
add ctor overloads for all kinds of strings to fix using strings implicitly as wxDataFormat objects after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46308
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sun, 3 Jun 2007 11:23:02 +0000 (11:23 +0000)]
Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46295
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 2 Jun 2007 17:21:46 +0000 (17:21 +0000)]
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
Vadim Zeitlin [Sat, 2 Jun 2007 13:51:05 +0000 (13:51 +0000)]
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
Vadim Zeitlin [Sat, 2 Jun 2007 13:34:47 +0000 (13:34 +0000)]
the same event handler class, not object, can be used with multiple windows (patch
1728835 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46273
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Jun 2007 13:23:41 +0000 (13:23 +0000)]
upported changes from 2.8.5 (at the very least this simplifies merging between branches)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46271
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Jun 2007 13:17:46 +0000 (13:17 +0000)]
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
Vadim Zeitlin [Sat, 2 Jun 2007 12:56:36 +0000 (12:56 +0000)]
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
Václav Slavík [Sat, 2 Jun 2007 12:45:19 +0000 (12:45 +0000)]
partially fixed passing wxUniChar as vararg argument (non-ASCII characters are still broken in UTF8 build, other cases work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46266
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 2 Jun 2007 12:42:57 +0000 (12:42 +0000)]
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
Vadim Zeitlin [Fri, 1 Jun 2007 22:05:12 +0000 (22:05 +0000)]
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
Vadim Zeitlin [Fri, 1 Jun 2007 21:21:01 +0000 (21:21 +0000)]
compilation fix: wxColour::GetColor() returns const object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46263
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 1 Jun 2007 21:19:28 +0000 (21:19 +0000)]
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
Vadim Zeitlin [Fri, 1 Jun 2007 12:16:05 +0000 (12:16 +0000)]
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
Václav Slavík [Thu, 31 May 2007 13:08:44 +0000 (13:08 +0000)]
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
Václav Slavík [Thu, 31 May 2007 11:00:06 +0000 (11:00 +0000)]
test if wxString(NULL) ctor creates empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46255
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 30 May 2007 22:02:19 +0000 (22:02 +0000)]
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
Robert Roebling [Wed, 30 May 2007 21:03:26 +0000 (21:03 +0000)]
Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46253
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 30 May 2007 21:02:33 +0000 (21:02 +0000)]
Experimenting with cell attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46252
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 30 May 2007 20:31:53 +0000 (20:31 +0000)]
Implement for selection code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46251
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 30 May 2007 14:03:45 +0000 (14:03 +0000)]
fixed to the newly added crt.h header:
1. include it in makefiles
2. add proper header and guards
3. include wxchar.h so that the things to include are maintained in just one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46250
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 30 May 2007 13:55:09 +0000 (13:55 +0000)]
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
Václav Slavík [Wed, 30 May 2007 13:50:36 +0000 (13:50 +0000)]
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
Václav Slavík [Wed, 30 May 2007 13:43:27 +0000 (13:43 +0000)]
wxchar.h doesn't have to be C file anymore, it's C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46247
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 30 May 2007 13:14:13 +0000 (13:14 +0000)]
wxGTK_CONV -> wxGTK_CONV_SYS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46246
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 30 May 2007 12:56:41 +0000 (12:56 +0000)]
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
Václav Slavík [Wed, 30 May 2007 12:53:51 +0000 (12:53 +0000)]
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
Václav Slavík [Wed, 30 May 2007 12:40:05 +0000 (12:40 +0000)]
changed trivial accessors to return const wxString& instead of wxString object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46243
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 30 May 2007 11:58:30 +0000 (11:58 +0000)]
Add wx/crt.h redirecting to wx/wxcrtvarargs.h
This should probably also be installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46242
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 30 May 2007 11:57:40 +0000 (11:57 +0000)]
restored wxColour ctor taking C string (now in both char* and wchar_t* versions): it is needed e.g. when doing wxPen("blue",1,wxSOLID)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46241
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 30 May 2007 11:40:36 +0000 (11:40 +0000)]
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
Václav Slavík [Wed, 30 May 2007 10:29:12 +0000 (10:29 +0000)]
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
Václav Slavík [Tue, 29 May 2007 17:02:10 +0000 (17:02 +0000)]
compilation fix for --disable-compat28
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46238
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Tue, 29 May 2007 13:15:33 +0000 (13:15 +0000)]
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
Jouk Jansen [Tue, 29 May 2007 09:03:28 +0000 (09:03 +0000)]
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
Robert Roebling [Tue, 29 May 2007 08:09:03 +0000 (08:09 +0000)]
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
Robert Roebling [Mon, 28 May 2007 14:49:22 +0000 (14:49 +0000)]
Doc update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46232
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 28 May 2007 14:46:52 +0000 (14:46 +0000)]
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
Robert Roebling [Mon, 28 May 2007 13:47:49 +0000 (13:47 +0000)]
Removed wxDataViewViewColumn since it is redundant.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46230
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Mon, 28 May 2007 04:22:10 +0000 (04:22 +0000)]
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
David Elliott [Mon, 28 May 2007 02:31:54 +0000 (02:31 +0000)]
Include wx/filedlg.h when not WX_PRECOMP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46228
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Sun, 27 May 2007 04:52:04 +0000 (04:52 +0000)]
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
David Elliott [Sun, 27 May 2007 04:28:35 +0000 (04:28 +0000)]
Add implementation of Objective-C class name uniquifying.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46226
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 26 May 2007 22:27:58 +0000 (22:27 +0000)]
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
Robert Roebling [Sat, 26 May 2007 22:06:47 +0000 (22:06 +0000)]
Correct GTK version check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46224
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 26 May 2007 18:47:53 +0000 (18:47 +0000)]
restructure fullscreen code dealing with hiding bars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46223
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 26 May 2007 16:40:39 +0000 (16:40 +0000)]
Another compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46222
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 26 May 2007 15:00:56 +0000 (15:00 +0000)]
fix typo: s/radion/radio/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46219
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 26 May 2007 14:15:25 +0000 (14:15 +0000)]
Added declaration of new method (still to be implemented).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46218
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 26 May 2007 14:14:16 +0000 (14:14 +0000)]
Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46217
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 26 May 2007 10:23:20 +0000 (10:23 +0000)]
GetMenuCount() returns size_t, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46216
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 26 May 2007 08:09:24 +0000 (08:09 +0000)]
Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46215
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 26 May 2007 05:45:52 +0000 (05:45 +0000)]
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
Václav Slavík [Fri, 25 May 2007 20:29:14 +0000 (20:29 +0000)]
compilation fix: can't use wxUniCharRef in switch statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46213
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 25 May 2007 19:19:34 +0000 (19:19 +0000)]
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
Julian Smart [Fri, 25 May 2007 16:51:53 +0000 (16:51 +0000)]
Fix for previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46210
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 25 May 2007 13:54:44 +0000 (13:54 +0000)]
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
Vadim Zeitlin [Fri, 25 May 2007 13:20:41 +0000 (13:20 +0000)]
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
Václav Slavík [Fri, 25 May 2007 12:20:25 +0000 (12:20 +0000)]
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
Paul Cornett [Fri, 25 May 2007 05:08:18 +0000 (05:08 +0000)]
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
Vadim Zeitlin [Fri, 25 May 2007 01:19:17 +0000 (01:19 +0000)]
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
Vadim Zeitlin [Fri, 25 May 2007 00:53:12 +0000 (00:53 +0000)]
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
Vadim Zeitlin [Fri, 25 May 2007 00:52:00 +0000 (00:52 +0000)]
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
Vadim Zeitlin [Fri, 25 May 2007 00:46:20 +0000 (00:46 +0000)]
fix unreachable code warning in GetUntranslatedString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46202
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 May 2007 23:53:05 +0000 (23:53 +0000)]
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
Vadim Zeitlin [Thu, 24 May 2007 12:50:42 +0000 (12:50 +0000)]
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
Vadim Zeitlin [Thu, 24 May 2007 12:42:25 +0000 (12:42 +0000)]
fix DLL export declaration (adv, not core)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46198
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 May 2007 12:28:31 +0000 (12:28 +0000)]
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
Vadim Zeitlin [Thu, 24 May 2007 10:59:56 +0000 (10:59 +0000)]
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch
1721939 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46196
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 May 2007 10:56:31 +0000 (10:56 +0000)]
s/wxStaticIcon/wxStaticBitmap/g (bug
1724527 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46194
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 May 2007 09:57:47 +0000 (09:57 +0000)]
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
Vadim Zeitlin [Thu, 24 May 2007 01:47:29 +0000 (01:47 +0000)]
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
Vadim Zeitlin [Thu, 24 May 2007 01:37:22 +0000 (01:37 +0000)]
declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46190
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 May 2007 00:50:54 +0000 (00:50 +0000)]
added wxAppTraits::CreateConfig() (patch
1721149 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46189
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 May 2007 00:27:40 +0000 (00:27 +0000)]
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
Vadim Zeitlin [Thu, 24 May 2007 00:14:59 +0000 (00:14 +0000)]
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
Vadim Zeitlin [Wed, 23 May 2007 23:58:09 +0000 (23:58 +0000)]
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
Vadim Zeitlin [Wed, 23 May 2007 23:38:27 +0000 (23:38 +0000)]
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
Václav Slavík [Wed, 23 May 2007 19:10:36 +0000 (19:10 +0000)]
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 May 2007 07:55:39 +0000 (07:55 +0000)]
[
1712381 ] CRASH: closing floating panel on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46168
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 May 2007 07:48:37 +0000 (07:48 +0000)]
[
1721029 ] [GTK] memory leak in wxMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46166
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 May 2007 02:30:01 +0000 (02:30 +0000)]
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
Vadim Zeitlin [Tue, 22 May 2007 02:02:51 +0000 (02:02 +0000)]
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
Vadim Zeitlin [Tue, 22 May 2007 02:00:35 +0000 (02:00 +0000)]
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
Vadim Zeitlin [Tue, 22 May 2007 01:45:37 +0000 (01:45 +0000)]
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
Vadim Zeitlin [Tue, 22 May 2007 01:38:40 +0000 (01:38 +0000)]
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