]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Wed, 8 Jul 2009 16:06:46 +0000 (16:06 +0000)]
update IfaceCheckLog definition after wxLog::DoLogXXX() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 8 Jul 2009 14:16:55 +0000 (14:16 +0000)]
added wxLog::IsLevelEnabled() helper; document it and a few related functions which were not, or poorly, documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61348
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 8 Jul 2009 13:53:36 +0000 (13:53 +0000)]
update LboxLogger definition after the previous revision changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61347
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 8 Jul 2009 13:47:33 +0000 (13:47 +0000)]
Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo.
The main logging callback is now DoLogRecord() with DoLogTextAtLevel() and
DoLogText() provided for convenience. The old DoLog() and DoLogString() are
still called but deprecated and their overloads taking wxString which were
only added in 2.9.0 are removed.
wxLogRecordInfo allows associating more information than just the time stamp
with the log record; for now only the logging thread id was added but more
fields will make their appearance soon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61346
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 7 Jul 2009 15:23:26 +0000 (15:23 +0000)]
Further fixes to colour properties that use wxPG_COLOUR_ALLOW_CUSTOM attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61344
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 7 Jul 2009 12:19:34 +0000 (12:19 +0000)]
added a simple wxLog unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61343
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 7 Jul 2009 10:52:44 +0000 (10:52 +0000)]
update the intl.* files directly from genlang.py script instead of generating snippets which had then to be manually pasted in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61342
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Jul 2009 21:19:58 +0000 (21:19 +0000)]
correct writing direction for Farsi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61340
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Jul 2009 21:11:52 +0000 (21:11 +0000)]
regenerated after r60684
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61339
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 21:42:56 +0000 (21:42 +0000)]
don't call OnWriteWaiting() if we lost connection in OnReadWaiting() called just before it (closes #10963)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61336
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 21:36:24 +0000 (21:36 +0000)]
change wxSocketInputBasedManager::AddInput() to take a pointer to wxSocketImpl, not base class wxFDIOHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61335
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 18:53:11 +0000 (18:53 +0000)]
don't call release() on non-owned buffer in wchar_t build (closes #10964); copy utf8_str() return value in ASCII one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61334
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 15:21:52 +0000 (15:21 +0000)]
added EVT_DATAVIEW_CACHE_HINT event (closes #9891)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61331
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 13:34:46 +0000 (13:34 +0000)]
made code more const-correct to fix g++ warnings about converting literal strings to non-const char*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61326
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 13:32:32 +0000 (13:32 +0000)]
compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61325
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 13:10:46 +0000 (13:10 +0000)]
really fix compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61323
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 11:51:53 +0000 (11:51 +0000)]
updated the version to 2.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61322
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 11:51:06 +0000 (11:51 +0000)]
updated list of files to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61321
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 11:49:21 +0000 (11:49 +0000)]
update the script to update more files; removed old LaTeX file which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61320
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 11:48:01 +0000 (11:48 +0000)]
translate wxMessageDialog labels to the language of the current locale (closes #10962)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61319
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 22:07:22 +0000 (22:07 +0000)]
add more tests for wxFileName::Normalize(DOTS) (see #10960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61318
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 17:52:37 +0000 (17:52 +0000)]
compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61317
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 17:51:56 +0000 (17:51 +0000)]
another attempt to fix signed/unsigned comparison warning in OS X build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61316
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 3 Jul 2009 14:49:19 +0000 (14:49 +0000)]
A better fix for one unused variable warning (one that actually compiles in debug mode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61314
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 3 Jul 2009 14:39:26 +0000 (14:39 +0000)]
Colour property with attribute wxPG_COLOUR_ALLOW_CUSTOM = false did not render correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61313
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 14:29:56 +0000 (14:29 +0000)]
we need to reset m_connected flag as well as setting m_closed when the connection is lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61312
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 14:28:02 +0000 (14:28 +0000)]
don't call wxSocketImpl::ReenableEvents() if the socket was closed while reading/writing to avoid an assert in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61311
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:48:44 +0000 (12:48 +0000)]
fix harmless warnings (mostly about unused parameters/variables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61310
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:46:19 +0000 (12:46 +0000)]
fix overriding OnPoke() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61309
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:43:06 +0000 (12:43 +0000)]
blind fix to make IPC work again by overriding OnExec() correctly in IPC connection class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61308
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:39:23 +0000 (12:39 +0000)]
make the sample work again by correcting DrawHeaderButton() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61307
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:22:40 +0000 (12:22 +0000)]
compilation fix for wxOSX/Cocoa: don't use Carbon functions in common to all OS X ports OpenGL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61306
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:16:20 +0000 (12:16 +0000)]
suppress harmless warning about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61305
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:14:51 +0000 (12:14 +0000)]
suppress harmless warning about possibly uninitialized variable in ParseRfc822Date() in OSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61304
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:13:41 +0000 (12:13 +0000)]
suppress harmless warning about possibly uninitialized variable in OpenLogFile() in OSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61303
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:03:39 +0000 (12:03 +0000)]
document SetStandardFonts() and SetFonts() methods of various wxHTML classes (closes #10913)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61302
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 3 Jul 2009 11:51:46 +0000 (11:51 +0000)]
bracket 10.5 only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61300
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 3 Jul 2009 07:13:53 +0000 (07:13 +0000)]
better font round-trip fidelity (native->wx->native), fixing fontdialog for osx_cocoa, closes #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61298
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 3 Jul 2009 06:49:27 +0000 (06:49 +0000)]
fixing warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61297
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 22:43:31 +0000 (22:43 +0000)]
use WXSIZEOF(x) instead of sizeof(x)/sizeof(x[0]) (closes #10701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61296
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 22:38:42 +0000 (22:38 +0000)]
reset m_establishing flag and last error when asynchronous connection is established (closes #10838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61295
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 22:29:43 +0000 (22:29 +0000)]
fix typo in wxClient::MakeConnection() docs (closes #10841)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61294
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 22:26:49 +0000 (22:26 +0000)]
show combobox drop down/close up events (closes #10954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61293
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 16:11:12 +0000 (16:11 +0000)]
don't use WaitOnConnect(), it doesn't make sense to use asynchronous Connect() only to block waiting for it immediately (see #10952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61288
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 16:10:12 +0000 (16:10 +0000)]
set socket state to connected when it receives a connection notification, otherwise WaitOnConnect() had to be called for asynchrnously Connect()ed sockets to work (closes #10952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61287
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 2 Jul 2009 14:52:12 +0000 (14:52 +0000)]
fixing memory leak and unnecessary cocoa init, refs #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61285
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 2 Jul 2009 13:23:51 +0000 (13:23 +0000)]
reverting incorrect conversion from r52690, refs #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61282
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 09:08:50 +0000 (09:08 +0000)]
ignore bCase parameter of wxSortedArrayString::Index() in STL build just as we do in non-STL one (it didn't work correctly anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61279
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 09:00:20 +0000 (09:00 +0000)]
added X11R7 directories to X libraries search path (needed for NetBSD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61278
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 1 Jul 2009 09:34:54 +0000 (09:34 +0000)]
set the context we create in IsExtensionSupported() (see #10545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61273
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 1 Jul 2009 09:33:21 +0000 (09:33 +0000)]
fixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as --without-opengl before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61272
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 1 Jul 2009 09:07:38 +0000 (09:07 +0000)]
interpret ~ specially only when it is the first character of the path (closes #10948, see #10941)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61271
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 1 Jul 2009 09:02:30 +0000 (09:02 +0000)]
remove _T()s and wxChars from the test making it much more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61270
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 1 Jul 2009 09:02:06 +0000 (09:02 +0000)]
ensure that we have event loop before showing a modal dialog; this allows to do it even before the main application loop starts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61269
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 1 Jul 2009 08:56:31 +0000 (08:56 +0000)]
make wxSortedArrayString::Sort() and Insert() private in STL build (closes #10947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61268
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Jun 2009 13:31:53 +0000 (13:31 +0000)]
correct wxSortedArrayString(wxArrayString) ctor documentation (closes #10944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61255
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Jun 2009 22:07:34 +0000 (22:07 +0000)]
don't use wxFilePicker style when creating wxButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61248
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 28 Jun 2009 23:16:25 +0000 (23:16 +0000)]
Fix typo in class name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61243
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 21:50:55 +0000 (21:50 +0000)]
simplify ScrollTo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61241
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 21:49:48 +0000 (21:49 +0000)]
remove obsolete comment moved to wxBitmapButtonBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61240
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 21:02:20 +0000 (21:02 +0000)]
another compilation fix after r61232
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61239
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 17:32:20 +0000 (17:32 +0000)]
don't include wx/msw/winundef.h when including wx/defs.h from C code (closes #10910)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61238
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 17:16:41 +0000 (17:16 +0000)]
compilation fix for wxUniv with 2.8 compatibility disabled (closes #10912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61237
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sun, 28 Jun 2009 17:01:13 +0000 (17:01 +0000)]
Allow for menus when deleting a tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61235
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 16:25:37 +0000 (16:25 +0000)]
added wxICON_NONE and implement support for it in wxGTK (closes #2897)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61234
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 16:22:55 +0000 (16:22 +0000)]
compilation fix after r61232
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61233
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Jun 2009 16:14:37 +0000 (16:14 +0000)]
always use wxBU_NOTEXT and wxBU_EXACTFIT for wxBitmapButton under all platforms (which required some refactoring) (hopefully really closes #10927)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61232
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Jun 2009 22:22:48 +0000 (22:22 +0000)]
set the initial size of bitmap buttons correctly again after it was broken by r61081 (closes #10927)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61221
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Jun 2009 22:11:41 +0000 (22:11 +0000)]
check whether we show bitmaps at all in GTKUpdateBitmap() (closes #10933)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61220
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Jun 2009 21:35:27 +0000 (21:35 +0000)]
correct an example which had no chance of working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61218
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 27 Jun 2009 12:31:12 +0000 (12:31 +0000)]
Fix for toolbar commands not working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61214
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 24 Jun 2009 21:28:31 +0000 (21:28 +0000)]
Add wxGraphicsBitmap overload for DrawBitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61198
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Jun 2009 18:20:12 +0000 (18:20 +0000)]
mention that the date passed to SetValue() must only be valid unless the control has wxDP_ALLOWNONE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61196
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Jun 2009 14:49:53 +0000 (14:49 +0000)]
compilation fix after wxBitmap image changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61188
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Jun 2009 14:49:09 +0000 (14:49 +0000)]
suppress warning about implicit conversion of literal string XmSTRING_DEFAULT_CHARSET to non-const char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61187
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 24 Jun 2009 10:35:54 +0000 (10:35 +0000)]
Style selection now restored after editing the style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61186
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 24 Jun 2009 10:28:20 +0000 (10:28 +0000)]
Made standard bullet names translatable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61184
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Tue, 23 Jun 2009 17:39:14 +0000 (17:39 +0000)]
Build fixes after the 2.8->trunk forward port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61177
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Jun 2009 10:21:18 +0000 (10:21 +0000)]
adjust the toolbar tools bitmap size to fit the biggest bitmap used under wxOSX too, not only under MSW (and moved the code doing it to the common base class to avoid duplicating it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61174
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Jun 2009 08:56:32 +0000 (08:56 +0000)]
remove confusing wxDialog::ButtonSizerFlags and extract button styles properly in each generic dialog implementation instead (closes #9836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61173
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Jun 2009 20:36:13 +0000 (20:36 +0000)]
Added DoGetClientBestSize() and use it for a couple of controls in wxMSW.
DoGetClientBestSize() returns the best size of the client area, without
accounting for the border which is done by GetBestSize() itself and
DoGetBorderSize() called from it.
Use DoGetClientBestSize() in wxStaticText (where it was done
insideDoGetBestSize() before) and in wxListBox, to fix its height calculation.
Also use correct height of listbox items as returned by the control itself
instead of trying to guess it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61169
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Jun 2009 20:07:50 +0000 (20:07 +0000)]
invalidate best window size when its label changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61168
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Jun 2009 20:07:07 +0000 (20:07 +0000)]
streamline best size calculation for buttons and made wxBU_EXACTFIT work as intended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61167
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Jun 2009 18:37:09 +0000 (18:37 +0000)]
relayout the sizer containing the button after changing its label as this may change the button size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61166
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Jun 2009 18:36:19 +0000 (18:36 +0000)]
fix more wxOSX/Carbon warnings in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61165
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 22 Jun 2009 17:02:53 +0000 (17:02 +0000)]
Significantly improved wxPropertyGrid's top-level parent change detection code (fixes #10919)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61164
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Jun 2009 12:13:56 +0000 (12:13 +0000)]
extract event handler body in a separate function instead of using a hack to call it with a NULL reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61161
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Sun, 21 Jun 2009 13:02:52 +0000 (13:02 +0000)]
fix for wxGTK1 & bmpbuttn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61160
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 21 Jun 2009 03:01:53 +0000 (03:01 +0000)]
added support for bitmaps in wxButton to wxOSX/Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61158
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 21 Jun 2009 02:01:51 +0000 (02:01 +0000)]
no changes, just removed commented out Carbon code from this Cocoa file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61156
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 20 Jun 2009 23:33:55 +0000 (23:33 +0000)]
Forward port wxGraphicsBitmap cairo implementation, and fix the credit info in measuring.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61152
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 20 Jun 2009 23:26:20 +0000 (23:26 +0000)]
Patch from Bruno Daniel to fix tab position inconsistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61151
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 20 Jun 2009 23:10:10 +0000 (23:10 +0000)]
make sure theme font info is reset if anything is changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61148
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 20 Jun 2009 23:07:44 +0000 (23:07 +0000)]
simplify condition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61147
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 20 Jun 2009 21:27:20 +0000 (21:27 +0000)]
suppress more float/double->int conversion warnings to be able to see anything else in wxOSX/Cocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61146
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 20 Jun 2009 20:05:52 +0000 (20:05 +0000)]
don't try to resize the bitmap buttons with wxBORDER_NONE style to one of the standard sizes, this results in more problems than it solves and still doesn't look good; document wxBORDER_NONE semantics under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61145
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 20 Jun 2009 00:21:53 +0000 (00:21 +0000)]
fix many mostly harmless warnings in wxOSX/Carbon build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61140
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Jun 2009 23:48:50 +0000 (23:48 +0000)]
implement wxTreeCtrl::GetFocusedItem() for wxMSW too (see #10859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61138
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Jun 2009 23:46:21 +0000 (23:46 +0000)]
include wx/arrstr.h as it's needed by wxImageHandler and may not be implicitly included from other headers in minimal builds (closes #10914)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61136
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Jun 2009 23:36:35 +0000 (23:36 +0000)]
no need to check for wxID_HELP buttons in SetLabel() now that it's overridden in wxButton itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61135
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775