Commit Graph

13495 Commits

Author SHA1 Message Date
Vadim Zeitlin
704006b381 Allow setting long version field in About dialog.
Long version is constructed by concatenating "Version " with the short version but can be overridden for the platforms which use it (currently MSW and OS X).

Closes 11027.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-25 22:53:23 +00:00
Vadim Zeitlin
c82c5274f2 Move #error for non-MSVC to the top of file.
This allows to reduce indentation of the rest of it and avoid a very long #if...#else.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-25 22:26:15 +00:00
Vadim Zeitlin
ad73320555 Add support for stc library.
Closes #11025.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-25 22:26:06 +00:00
Vadim Zeitlin
3b5137c4e0 Use wxSTOCK_FOR_BUTTON for message dialog custom labels.
This allows to use wxID_PRINT as a custom label without getting an unwanted ellipsis at the end.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-25 16:41:16 +00:00
Vadim Zeitlin
e94ee7915b Added wxSTOCK_FOR_BUTTON flag for wxGetStockLabel().
This allows to retrieve labels appropriate for the buttons and not menu items which currently means without trailing ellipsis.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-25 16:41:05 +00:00
Vadim Zeitlin
9a83f86094 Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
89d62794e4 Implement wxVLogTrace() accidentally removed by recent changes.
Also change the unit test to test wxVLogTrace() as well as wxLogTrace.

Closes #11011.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 13:40:44 +00:00
Vadim Zeitlin
57563c712b Use wxINT32_MAX instead of LONG_MAX as the upper bound in wxDateTime::IsInStdRange().
Under Debian Linux 64 bit time_t is 64 bit long but libc doesn't seem to handle values beyond 2^32
correctly, e.g. wrong results are returned from localtime() for them. And it would seem that platforms
where sizeof(long) > sizeof(time_t) might exist too so it seems safer to only work with 32 bit time_t
values until we can reliably detect platforms which support 64 bit ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-22 17:56:35 +00:00
Vadim Zeitlin
68e6eb7d67 Don't call IAutoComplete::Init() twice for the same control as this leaks memory, just change the strings used for completion instead (closes #10968)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-22 14:30:29 +00:00
Vadim Zeitlin
3185abc278 Support delayed destruction in console applications too.\n\nThis only works if there is a running event loop but if there is one, we can have the same kind of problems with non-GUI objects such as sockets in console applications as we have with windows in GUI ones, so we must support this (see #10989).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-21 14:16:44 +00:00
Vadim Zeitlin
81f0d3caef Include wx/dataobj.h from wx/clipbrd.h.
This is necessary in order to define wxVector<wxDataFormat> at least when
wxVector is std::vector (as in wxUSE_STL==1 build) because vectors of
incomplete types can't be used.

Also removed inclusions of this and other unneeded headers from MSW and OS X
headers and removed a hopefully out of date comment about Mac code being wx
1.xx-based from the latter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 23:54:08 +00:00
Vadim Zeitlin
43b2d5e7c3 Put braces around all calls to wxLogFunctions() inside an if statement.
This suppresses all the remaining g++ -Wparentheses warnings and uses consistent style everywhere.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 16:47:54 +00:00
Jaakko Salli
c9cc9a2f3e Fixed wxPropertyGridInterface::SetPropertyValues() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 15:06:04 +00:00
Vadim Zeitlin
26bacb82ff Dispatch pending events without waiting for idle time (closes #10994).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 12:14:42 +00:00
Vadim Zeitlin
5d0d7c2058 removed wxDatePickerCtrlGeneric::SetFormat() which didn't exist but was declared and documented (closes #10988)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-19 16:49:29 +00:00
Vadim Zeitlin
e8c9268b3a Add option FILE* parameter to wxMessageOutputStderr ctor, just as with wxLogStderr.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-18 23:22:51 +00:00
Vadim Zeitlin
e55919d892 No changes, just fix a typo: wxGuiLog was used instead of wxLogGui.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-18 11:18:21 +00:00
Jaakko Salli
c90e98dcb6 Added wxGTK wxBitmapComboBox::DoGetBestSize() implementation that takes bitmap size into acccount.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-18 08:33:55 +00:00
Jaakko Salli
41ce9ae1b0 Added wxMSW wxBitmapComboBox::DoGetBestSize(), which takes bitmap size into account.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-18 07:31:09 +00:00
Vadim Zeitlin
2a392e2d16 No real changes, just made wxEventLoopManual uncopyable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 16:55:55 +00:00
Vadim Zeitlin
a758f601dd No real changes, just refactor wxEventLoop/wxApp::ProcessIdle().
Old code called wxApp::ProcessIdle() from wxEventLoopManualRun::Run() which called wxEventLoop::ProcessIdle() which called wxApp methods from it. In the new version wxEventLoopManualRun::Run() calls wxEventLoopManualRun::ProcessIdle() which calls wxApp::ProcessIdle() which calls other wxApp methods which seems to make more sense and also allows overriding ProcessIdle() in either wxEventLoopManual or wxApp-derived classes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 16:52:43 +00:00
Vadim Zeitlin
58dcd1ae52 added wxLB_NO_SB style and implementation for wxMSW (closes #10991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 14:36:30 +00:00
Vadim Zeitlin
5d7526b0b8 fix log target auto creation broken by recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-15 12:36:09 +00:00
Vadim Zeitlin
53ff8df7d5 Make wxLog::EnableLogging() and wxLogNull thread-specific.
Disabling logging in a single thread (even the main one) shouldn't disable
logs from the background threads which should disable their logging themselves
as/if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-13 13:21:52 +00:00
Vadim Zeitlin
acad886cb4 Add support for thread-specific log targets.
A worker thread can now have its own log target which will be used directly
by the log functions instead of buffering log output in the main thread; the
GUI thread in the thread sample shows how it works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-13 11:09:26 +00:00
Vadim Zeitlin
16b1f6fc50 Removed critical section protecting last repeat counter.
It is not needed any longer now that this is only used by
wxLog::OnLogInMainThreade() which is only called from the main thread.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-12 17:09:33 +00:00
Vadim Zeitlin
232addd1cd Made wxLogXXX() functions thread-safe.
They can now be called from any thread and will buffer the messages until the
current log target is flushed from the main thread. This makes earlier code to
do the same thing specifically for wxLogWindow unnecessary and also allows to
use wxLogMessage() in the thread sample instead of using manual logging there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-12 17:02:30 +00:00
Vadim Zeitlin
dbe0872fc8 Added wxVector::swap().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-12 17:00:29 +00:00
Vadim Zeitlin
c602c59b6e Add component-level filtering to wxLog.
Each log message is now associated with its component, "wx" by default for
messages generated by wxWidgets and wxLOG_COMPONENT in general (which is empty
by default). Each component may have its own log level and they are
hierarchical allowing fine configuration of what exactly is logged.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-12 14:56:23 +00:00
Vadim Zeitlin
f922638305 Added wxThread::GetMainId().
This is useful for checking if a message was logged from the main thread or not and also allows us to implement IsMain() by comparing GetCurrentId() with GetMainId() in all ports and avoid repetition.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-11 20:46:55 +00:00
Jaakko Salli
eddcc4b442 Added wxPropertyGrid::WasValueChangedInEvent(), added code to avoid showing colour picker dialog twice when 'Custom' colour was picked from drop-down list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-11 07:59:59 +00:00
Stefan Csomor
9e55f38df7 adapting to widgetimpl extensions and iPhone OS 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-10 19:19:36 +00:00
Stefan Csomor
cf4ce62c26 adapting init sequence for different osx platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-10 17:46:05 +00:00
Stefan Csomor
d39292566b committing current iphone state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-10 17:41:13 +00:00
Stefan Csomor
4bea628d00 iPhone bitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-10 17:33:43 +00:00
Stefan Csomor
7af25c3a80 more iPhone types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-10 17:31:57 +00:00
Vadim Zeitlin
b356aa554a don't mark GetTraceMask() deprecated as we use it in the same header which provokes warnings when including it from outside wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 22:00:30 +00:00
Vadim Zeitlin
c279530ba9 fix MSVC compilation: as string literals are of non-const char* type with this compiler, they are implicitly convertible to void* resulting in overloading ambiguities with wxLogger::Log()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 21:39:29 +00:00
Vadim Zeitlin
ff2e9e2cc4 implement wxLogTrace(wxTraceMask, format, ...) overload too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 20:30:27 +00:00
Vadim Zeitlin
af58844636 Add information about the log message generation location to wxLog.
This means that wxLog::DoLogRecord() can now retrieve the file name, line
number and the function where the message was logged.

An unfortunate consequence of this change is that now

	if ( condition )
		wxLogError("Whatever");

results in a warning from g++ 4.x with -Wparentehses, so extra parentheses had
to be added in many places.

Finally, also allow storing arbitrary attributes in wxLogRecordInfo. This had
to be added to implement our own overloaded wxLogStatus() and wxLogSysError()
and will probably be useful for the others as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 20:26:34 +00:00
Vadim Zeitlin
76981461ce disable VC6 warnings before warning(push), otherwise they're reenabled by warning(pop) in wx/afterstd.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 15:19:03 +00:00
Vadim Zeitlin
ae2070fb77 fix VC6 warnings about not enough parameters for wxDEPRECATED_BUT_USED_INTERNALLY_INLINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 15:13:52 +00:00
Stefan Csomor
60ebcb8a49 adding special case for Carbon DataBrowser Checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 14:47:51 +00:00
Vadim Zeitlin
ba3af1010d 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
2009-07-08 14:16:55 +00:00
Vadim Zeitlin
bc73d5aec8 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
2009-07-08 13:47:33 +00:00
Vadim Zeitlin
ee0995b09b 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
2009-07-05 21:42:56 +00:00
Vadim Zeitlin
37465b7281 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
2009-07-05 21:36:24 +00:00
Vadim Zeitlin
47a8b1e1ff 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
2009-07-05 15:21:52 +00:00
Vadim Zeitlin
f3239c2118 updated the version to 2.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:51:53 +00:00
Vadim Zeitlin
8a28bf768c 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
2009-07-03 12:48:44 +00:00
Vadim Zeitlin
b6ccc13c2f 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
2009-07-03 12:22:40 +00:00
Vadim Zeitlin
795ac80edb 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
2009-07-01 08:56:31 +00:00
Vadim Zeitlin
ceceef4c05 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
2009-06-28 17:32:20 +00:00
Vadim Zeitlin
be9ba6e5be 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
2009-06-28 17:16:41 +00:00
Vadim Zeitlin
7e3204b45c 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
2009-06-28 16:25:37 +00:00
Vadim Zeitlin
78eecde086 compilation fix after r61232
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:22:55 +00:00
Vadim Zeitlin
8e4c291246 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
2009-06-28 16:14:37 +00:00
Vadim Zeitlin
79e38eaf2a 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
2009-06-27 22:22:48 +00:00
Vadim Zeitlin
886180cdbf 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
2009-06-24 14:49:09 +00:00
Vadim Zeitlin
bb2212e6c4 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
2009-06-23 10:21:18 +00:00
Vadim Zeitlin
12a124ddc9 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
2009-06-23 08:56:32 +00:00
Vadim Zeitlin
743b426605 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
2009-06-22 20:36:13 +00:00
Jaakko Salli
6edd8829ef 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
2009-06-22 17:02:53 +00:00
Jouk Jansen
ca3b3fbb11 fix for wxGTK1 & bmpbuttn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-21 13:02:52 +00:00
Vadim Zeitlin
e5d05b907c 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
2009-06-21 03:01:53 +00:00
Kevin Ollivier
2fc9c1ea77 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
2009-06-20 23:33:55 +00:00
Vadim Zeitlin
8f2a8de6e7 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
2009-06-20 00:21:53 +00:00
Vadim Zeitlin
3c01c59511 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
2009-06-19 23:48:50 +00:00
Vadim Zeitlin
48889bca6f 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
2009-06-19 23:46:21 +00:00
Vadim Zeitlin
febebac1a0 added wxTreeCtrl::GetFocusedItem() (closes #10859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 23:34:51 +00:00
Vadim Zeitlin
85284ca4b2 respect wxBU_NOTEXT style in wxButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 23:24:51 +00:00
Vadim Zeitlin
09219654cd override DoSetBitmap() instead of SetBitmapLabel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 04:47:59 +00:00
Vadim Zeitlin
03a187ccae wxHtmlWindow background drawing fixes for OS X and optimizations
1. Avoid crashes under OS X due to attempts to copy window contents to the
   backing store bitmap: this doesn't work under OS X so avoid it by always
   painting the background from OnPaint() itself, while still generating the
   erase background events for compatibility.

2. Don't double buffer wxHtmlWindow drawing if the window is already double
   buffered.

3. Don't allocate backing store bitmap on the heap, this is useless as bitmaps
   are already pointer-lile -- so just use invalid bitmap instead of NULL
   bitmap pointer.

4. Update the html/test sample to show the effects of custom erase background
   handler in wxHtmlWindow (it overrides the background bitmap painting).



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 17:32:20 +00:00
Vadim Zeitlin
69ce9cea39 implement propert background style semantics for OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 15:33:51 +00:00
Robin Dunn
a25a17732c Use UTF16 for text data object on Mac. Fixes #10902
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 06:18:50 +00:00
Vadim Zeitlin
3c9a70ddd4 correct wrong assert checking for default button flags consistency (closes #10906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 23:16:22 +00:00
Vadim Zeitlin
41550985f2 don't define wxHAS_BUTTON_BITMAP for wxUniv (closes #10907)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 23:08:45 +00:00
Vadim Zeitlin
a21175918e added wxBU_NOTEXT style to allow creating bitmap buttons with stock id not showing the label, as it was possible before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 22:13:46 +00:00
Vadim Zeitlin
6e7d2550ce wxFont::MakeXXX() and Scale() methods now modify the font in place; XXX() and Scaled() create new font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:27:37 +00:00
Julian Smart
a188ac2988 wxRichTextCtrl native caret now flashes, for wxMac/Core Graphics mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:10:04 +00:00
Jaakko Salli
209bf72273 Setup.h wrapper was missing propgrid section (fixes #10909)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 20:38:20 +00:00
Vadim Zeitlin
c753eb9269 implement new wxBG_STYLE_XXX semantics for wxMSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 04:36:28 +00:00
Vadim Zeitlin
9c61c5b04b introduce wxBG_STYLE_{ERASE,PAINT} and implement their documented semantics in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 23:04:42 +00:00
Vadim Zeitlin
b85b06e13d fix compilation without wxUSE_STREAMS (closes #10900)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 21:57:23 +00:00
Vadim Zeitlin
5dd0965333 remove more occurrences of MSVC #pragma warning(default) (closes #10885)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 21:50:23 +00:00
Vadim Zeitlin
c37dd6dad7 implement wxGTK wxBitmapButton in terms of wxButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 19:31:50 +00:00
Vadim Zeitlin
b4a4eafbcc implement support for bitmaps for all states in wxGTK wxButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 19:08:59 +00:00
Vadim Zeitlin
02bad8305c added helper GTKShouldIgnoreEvent() to use in void GTK event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 19:08:24 +00:00
Robert Roebling
9330d5afb6 Many more corrections and clarifications to virtual index list model use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 17:59:09 +00:00
Vadim Zeitlin
eebe696ec9 fix typo in compatibility SetBitmapLabel() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 15:59:42 +00:00
Vadim Zeitlin
7be740a3fd implement support for button bitmaps (normal state only for now) for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 05:16:31 +00:00
Vadim Zeitlin
23d8a71f51 fix PCH-less build after changing timer id type to WPARAM (closes #10901)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 05:05:20 +00:00
Vadim Zeitlin
a6fd73d33a implement wxBitmapButton as just a wrapper for wxButton under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 23:10:16 +00:00
Jaakko Salli
4e00b90802 Added support for wxLongLong and wxULongLong in wxVariant (closes #10166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 22:43:27 +00:00
Robert Roebling
8ba01d3546 Fix sending wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK, fixes #10894: Missing OSX-Carbon DataView control header click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 18:35:24 +00:00
Vadim Zeitlin
d8c89c487d no real changes, just extract private classes from msw/dc.cpp into a private header so that they could be reused from button owner drawing code too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 17:49:27 +00:00
Vadim Zeitlin
491acfc75e use WPARAM (which is 64 bit under Win64) for timer ids instead of long (which is still 32 bit) (see #10896)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 17:14:50 +00:00
Vadim Zeitlin
233f10bf15 implement images support for wxButton under XP and later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 04:23:54 +00:00
Vadim Zeitlin
81cb7b5a98 include wx/bitmap.h which is required by wxButton now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 03:36:16 +00:00
Vadim Zeitlin
28ac82bf04 added missing parentheses in a couple of GetHxxxOf() macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 03:35:30 +00:00
Vadim Zeitlin
2352862a7e preparation work for implementing images support in wxButton: move wxBitmapButton methods to the base class (enhancing/completing them in the process); there are no functionality changes yet (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 22:55:24 +00:00
Robert Roebling
e4e83d3ad6 Make wxDataViewModel derive from wxRefCounter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 14:11:07 +00:00
Jaakko Salli
cf25a599cd Converted wxVariant to use wxObject's reference counting facilities. Should make sense as wxVariant already derived from wxObject and now wxVariantData inherits wxRefCounter/wxObjectRefData.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-13 14:55:45 +00:00
Robert Roebling
b42d5f7556 Use wxRefCounter instead of wxObjecrDataRef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:18:17 +00:00
Robert Roebling
6d37c1b773 Rename wxObjectDataRef wxRefCounter, use it in wxVariant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:16:07 +00:00
Vadim Zeitlin
f76c075805 added convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:11:21 +00:00
Vadim Zeitlin
c797aec4b9 remove unnecessary refCount=1 parameter from wxObjectRefData ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 19:36:58 +00:00
Jaakko Salli
bd035313c1 wxPGCellRenderer ctor doesn't really need refCount argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 19:03:41 +00:00
Vadim Zeitlin
0d14e4f21d added XRC handler for wxFileCtrl (closes #10785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:40:11 +00:00
Vadim Zeitlin
92ffc98a08 reuse wxObjectRefData for various ref-counted classes (closes #10886)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:14:28 +00:00
Robert Roebling
58e914f015 Remove remaining bits of marker drawing during resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 16:15:35 +00:00
Vadim Zeitlin
d9e80dce15 make more wxFileName methods const (closes #10887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:28:45 +00:00
Jaakko Salli
517add0d35 Added missing virtual dtor for wxPGMultiButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 14:01:25 +00:00
Jaakko Salli
b7d1985040 For needs of wxPython bindings, (re)added a version of RegisterEditorClass() that accepts a custom name for editor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 13:49:59 +00:00
Vadim Zeitlin
fb330c2ec3 disable MSVC warning 4275 correctly (closes #10885)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 03:37:47 +00:00
Vadim Zeitlin
4cd15b49b4 allow customizing wxStandardPaths logic for the program directory determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:46:19 +00:00
Vadim Zeitlin
89391a4ea1 make wxFileName::{Mk,Rm}dir() const (closes #10868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:11:07 +00:00
Stefan Csomor
7cb2a24183 adding events to single line textcontrols (password is not fully supported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 06:40:24 +00:00
Jaakko Salli
27c1f235ba Allow reparenting wxPropertyGrid(Manager) to work; Show error and suggest calling wxPropertyGrid::OnTLPChanging() if top-level parent changed indirectly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 20:36:56 +00:00
Vadim Zeitlin
6de7047076 add virtual DoGetTextExtent() to allow calling the overloaded wxWindowBase::GetTextExtent() on wxWindow objects without any ugly casts/scope resolution operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 16:41:41 +00:00
Vadim Zeitlin
806a83167b removed the inexistent (at least in 10.4 SDK) and unneeded carbon/carbon.h header inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 15:05:07 +00:00
Vadim Zeitlin
ed70364591 add missing DLL export declaration to fix linking in shared library build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 14:43:38 +00:00
Vadim Zeitlin
0049c31e8d derive wxStandardPathsCF from Unix wxStandardPaths implementation to make it possible to return it from wxGUIAppTraits::GetStandardPaths()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:56:43 +00:00
Vadim Zeitlin
adcc13ac81 disable MSVC warning 4275 which is harmless and can't be avoided anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:27:07 +00:00
Jaakko Salli
b8b1ff481c Implementations of wxPGProperty::ChildChanged() must now return changed value of the whole property instead of writing it back to 'thisValue' argument. This change was done primarily for better compatibility with wxPython bindings, but should also be slightly more cleaner behavior API-wise. Breaks backwards compatibility, but not silently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 07:52:53 +00:00
Vadim Zeitlin
25f49256ac return wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get() to allow calling platform-specific methods on it if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:34:05 +00:00
Vadim Zeitlin
5470512797 disable warning about _set_se_translator() requiring /EHa for VC9 too (it was disabled for up to VC8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:27:37 +00:00
Vadim Zeitlin
7faab5c528 define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functions (such as xsgetn() used in wx/stdstream.h) from VC8+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:10:19 +00:00
Vadim Zeitlin
895cae46b7 work around (harmless) warnings in VC7 release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:04:50 +00:00
Jaakko Salli
ac1013c060 Added wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by wxPython bindings .m_value property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:28:40 +00:00
Jaakko Salli
45e82d4ceb Added better asserts, helps with debugging strange wxVariant issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:27:55 +00:00
Vadim Zeitlin
80f624ec0c added multiple selections support to wxDirCtrl (closes #10830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 14:00:51 +00:00
Vadim Zeitlin
b2d76621c2 export wxStatusBarPaneArray from the DLL to fix Borland multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 12:01:46 +00:00
Vadim Zeitlin
0503f19ca8 compilation fixes for g++ 3.2 (closes #10875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-05 08:54:48 +00:00
Vadim Zeitlin
adcda299c0 added wxEditbaleListBox XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 23:41:51 +00:00
Vadim Zeitlin
a96827606e postpone the call to CopyAttributes() until the DC is fully initialized (closes #10867)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 08:55:44 +00:00
Vadim Zeitlin
3998c74b9b use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 22:33:32 +00:00
Vadim Zeitlin
e77669fcee don't fix the columns number to 1 by default in ctors (closes #10863)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 22:28:26 +00:00
Jaakko Salli
9ab4a43845 Make this header SWIG-safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 14:16:20 +00:00
Vadim Zeitlin
febd3dcaf8 added wxUINTn_MAX constants; document them together with the existing wxINTn_MIN/MAX ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:43:32 +00:00
Francesco Montorsi
23790a2a29 add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:01:41 +00:00
Francesco Montorsi
ed1288eef0 add wxProgressDialog::SetRange() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 23:19:25 +00:00
Francesco Montorsi
d1279c9a3d no change: fix a couple typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 23:05:37 +00:00
Robert Roebling
e6bfb8a131 non-PCH compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 15:26:24 +00:00
Robert Roebling
715c9810a1 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 15:15:27 +00:00
Robert Roebling
0a807957e6 Closes #10495: wxDataViewCtrl needs a way to start the label editor programmatically, also Windows port now emits vetoable ..._EDITING_STARTED event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 13:57:38 +00:00
Francesco Montorsi
a9a2485d64 fix loading ICO from socket stream: override OnSysTell and OnSysSeek rather than directly SeekO/I or TellO/I; in wxICOHandler only call SeekI() if we have a non-null seek offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 13:56:41 +00:00
Francesco Montorsi
53c2cdb0b1 fix PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 12:40:50 +00:00
Francesco Montorsi
8faef7ccbc document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 11:43:36 +00:00
Vadim Zeitlin
255c07b4df extracted wxTextWrapper in its own header and made it public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 20:12:07 +00:00