Jaakko Salli
d7e2b52235
Reworked wxPGCell. It is now reference counted, and therefore much more user friendly, and is used internally as basis for most property colour values instead of separate row text and bg colours.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 18:53:37 +00:00
Vadim Zeitlin
42632bcee1
fix MSVC /Wp64 warning about size_t to int conversion ( closes #10068 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 17:14:12 +00:00
Vadim Zeitlin
08e827d82d
fix compilation without wxUSE_FILESYSTEM ( closes #10114 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 13:07:42 +00:00
Vadim Zeitlin
0fbfcdd068
for some reason having int/size_t assertEquals() overload is not always enough for VC6, so provide both unsigned int/long overloads instead and rely on size_t being one of them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 23:22:10 +00:00
Vadim Zeitlin
6b583d40a8
fix linking problems due to MSVC implicitly considering template classes specializations used as base classes DLL-exported even though it doesn't actually export them when building the DLL (with or without explicit declspec(dllexport)); also replace wxCharTypeBuffer::NullData with a static function to allow not DLL-exporting this class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 23:04:29 +00:00
Vadim Zeitlin
638205e547
don't use WXDLLIMPEXP_BASE with wx[Sorted]Array_SortFunction, this results in link errors with VC[89] when building a DLL and shouldn't be necessary with any other compilers neither as these classes have only inline methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 15:57:18 +00:00
Francesco Montorsi
b56d1061bb
enable all compat symbols when using gccxml
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 18:58:43 +00:00
Francesco Montorsi
18e9c453ef
s/FALSE/false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 18:58:21 +00:00
Vadim Zeitlin
8aea37a9df
use buffered streams to reduce the number of TCP packets used per IPC command from up to 7 to 1 for reasonably sized payloads, this dramatically (by 150 times for the IPC benchmark on a LAN) increases performance; also centralize all the streams used in a single wxIPCSocketStreams class and allocate only it on the heap instead of doing it for all of the streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:45:55 +00:00
Vadim Zeitlin
f42c1512dd
provide ctors allowing to specify the non-default buffer size for buffered streams and wxStreamBuffer itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:42:45 +00:00
Vadim Zeitlin
de56f24082
added wxDocument::AlreadySaved() and use it in OnUpdateFileSave() to ensure that the "Save" menu item is enabled for new documents, even although they're not modified yet (otherwise the standard Ctrl-S key doesn't work in this case which is pretty annoying)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:23:25 +00:00
Vadim Zeitlin
d7b3a73d07
document wxDocument::GetDocumentSaved()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:15:03 +00:00
Francesco Montorsi
56454c1513
fixed a missing ampersand
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:34:46 +00:00
Francesco Montorsi
a805142d93
move wxVListBoxNameStr into vlbox.cpp source file (as for all other wxWidgets *NameStr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:03:37 +00:00
Francesco Montorsi
303c6f20d2
make IsKindOf() taking a const wxClassInfo* instead of a wxClassInfo*, just like the homonym method in wxClassInfo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 14:54:40 +00:00
Vadim Zeitlin
7e73fb9c99
no real changes, just reformat before starting really modifying
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 00:02:38 +00:00
Vadim Zeitlin
9eb2347dc3
disable workaround for lack of alpha support in native static bitmap control for WinCE, apparently it breaks the display ( #10093 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:15:19 +00:00
Jaakko Salli
c724444f7e
Added similar assignment operator as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:50:45 +00:00
Jaakko Salli
1d882226f5
Added wxPropertyGridConstIterator(const wxPropertyGridIterator&) copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:47:35 +00:00
Vadim Zeitlin
e7d3d27dce
fix handling of errors in wxConditionInternal::Wait() and WaitTimeout() ( #10111 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:46:43 +00:00
Jaakko Salli
cfcc02a8a4
Removed dummy wxFont == operator implementation (IIRC was needed to compile with some old version of wx)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:26:46 +00:00
Robert Roebling
36a845fe5b
Added method to disable focus_out handling temporarily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 14:02:54 +00:00
Vadim Zeitlin
074574b4a6
compilation fix for operator=() with DMC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 23:14:48 +00:00
Jaakko Salli
78f2d746a0
Merged wxBaseEnumPropertyClass (intermediate property class with obsolete purpose) to wxEnumPropertyClass
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 15:23:07 +00:00
Robert Roebling
788432e343
Correct TAB handling for generic wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-21 19:10:25 +00:00
Jaakko Salli
98c0463399
Removed deprecated functions wxPGChoices::HasValue(), HasValues()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-21 15:17:06 +00:00
Jaakko Salli
f275b5dbfd
User should no longer be able to modify disabled or read only child properties by editing their parent (wxPG sf bug #2181860 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 17:01:17 +00:00
Jouk Jansen
e3c80a1dd9
gtk1.x has less native functions than gtk2.x
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 14:12:40 +00:00
Vadim Zeitlin
dd639a4f27
a couple of more left over Borland unused variable/code warnings fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:52:17 +00:00
Vadim Zeitlin
e822d1bd5f
fix more Borland release build warnings about unused variable/code without effect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:30:49 +00:00
Vadim Zeitlin
3232da9d90
work around Borland compilation errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 09:00:19 +00:00
Vadim Zeitlin
ddc7f0c975
fix virtual function hiding warnings introduced to changing wxSockAddress argument of Connect() to be passed by const reference
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 08:59:45 +00:00
Stefan Neis
ac10ea91c9
Compilation fix for gcc-4 and newer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 06:55:10 +00:00
Stefan Neis
3b644e9889
Compilation fix for gcc-4 and newer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 12:34:13 +00:00
Jaakko Salli
404b9c623a
Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:48:49 +00:00
Jaakko Salli
9bc1121429
In wxPropertyGridManager, alphabetic mode is now sorted even if wxPG_AUTO_SORT flag is absent (fixes wxPG sf bug #2162053 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:29:36 +00:00
Vadim Zeitlin
deb0c40261
remove extraneous returns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 10:16:47 +00:00
Jaakko Salli
68f9e025b9
Simplistic tab support is now default (tab focuses editor if unfocused, otherwise goes out of grid), no longer recognizes wxTAB_TRAVERSAL, unified key handling code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:11:44 +00:00
Vadim Zeitlin
5eda3bcdad
remove assert from GetSizeAvailableForScrollTarget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 13:50:10 +00:00
Jaakko Salli
c82a80e81f
wxPGProperty::GenerateComposedValue() -> protected DoGenerateComposedValue(), added simple public GenerateComposedValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 16:46:38 +00:00
Vadim Zeitlin
bce49490f6
compilation fix for include wx/generic/stattextg.h before/without including wx/stattext.h in PCH-less wxUniv build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:02:47 +00:00
Robert Roebling
724852daae
Enable intercepting ENTER in wxSpinCtrl under wxMac by using wxTE_PROCESS_ENTER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 22:18:04 +00:00
Václav Slavík
13f0cfee4d
forgot to commit toplevel.h as part of r56374
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 20:20:52 +00:00
Václav Slavík
a158acac6d
Cleaned up wxArtProvider:
...
1. Move platform-specific code for both GetSizeHint() and GetBitmap()
into platform-specific files.
2. Introduced GetNativeSizeHint() to make native sizes better accessible,
without having to understand weird GetSizeHint() semantics.
3. Fixed GetNativeSizeHint() to return sensible values in non-GTK ports;
it returns wxDefaultSize if it can't make a good guess instead of
returning arbitrary value.
4. Use 16x16 icons on MSW instead of 16x15: it works and is more
'natural' size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:07:42 +00:00
Jaakko Salli
102c9a42e8
Fixed broken wxMultiChoiceProperty::ValueToString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:36:07 +00:00
Jaakko Salli
1425eca550
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:19:50 +00:00
Vadim Zeitlin
04021d6fac
made Dispatch() return bool indicating whether we processed any events inside it or if the timeout expired
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:33:05 +00:00
Vadim Zeitlin
a62e6836ae
added wxConnection::IsTextFormat()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:32:06 +00:00
Vadim Zeitlin
5a557d1ea0
made Dispatch() return bool indicating whether we processed any events inside it or if the timeout expired
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:31:30 +00:00
Vadim Zeitlin
a8db7a5fc1
disable VC6 warning C4284; put all warning disable pragmas together
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 09:13:16 +00:00
Václav Slavík
352cd79f63
reverted broken changes from r56345 and r56349
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 08:15:56 +00:00
Václav Slavík
ca5bf83bda
compilation fix for older glib versions after r56345
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 21:10:56 +00:00
Jaakko Salli
fedaff2f95
Removed unneeded wxPG_INHERITED_PROPFLAGS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:13:23 +00:00
Jaakko Salli
174b59acee
Remove old workarounds to get cut, copy, and paste working in embedded wxTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:07:26 +00:00
Francesco Montorsi
1a78714d95
enable more wx stuff when using gcc xml
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 19:48:50 +00:00
Jaakko Salli
2fd4a52415
wxPGProperty::AddChild() can now be used to add normal child properties (previously it was only used to add private children of derived property classes such as wxFontProperty and wxFlagsProperty). However, to allow backwards compatibility, SetParentalStyle(wxPG_PROP_MISC_PARENT) needs to be called before doing so. Also done: merged property initialization code from PrepareToAddItem() and PrepareSubProperties() to InitAfterAdded().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 17:15:59 +00:00
Robert Roebling
012b4a0790
Correct positioning of wxTextCtrl in wxPropertyGrid for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 12:32:01 +00:00
Vadim Zeitlin
cc378c2d75
added wxXmlResource::FindXRCIDById() ( #10026 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 11:44:10 +00:00
Robert Roebling
7fa920cd39
Also correct wxDList<T>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 09:43:53 +00:00
Vadim Zeitlin
b9f9065e28
fix the bug in insert(end(), value) and added unit test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 09:04:52 +00:00
Vadim Zeitlin
b547eb0f86
remove default value for the last parameter of insert(it, idx, value) which allowed insert(it, 17) to compile for lists of any type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 08:59:05 +00:00
Vadim Zeitlin
cc0972a251
no real changes, just also rename _Read/_Write() to DoRead/DoWrite() and clean them a little more too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 13:24:48 +00:00
Vadim Zeitlin
60ee017274
Cleanup of wxSocket::_Wait():
...
- Rename to DoWait() to avoid symbols starting with underscores.
- Added comments explaining how does it work.
- Remove the pointless timeout manipulations: GSocket::Select() doesn't
use timeout (any more?) anyhow.
Also pass GSOCK_LOST_FLAG to DoWait() from WaitForWrite() for the same reasons
it is done in WaitForRead().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 13:00:49 +00:00
Robert Roebling
9861dc94bb
Use native closure buttons under GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 11:21:37 +00:00
Robert Roebling
1b895132c9
Correct spelling, now use Indices
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 10:52:38 +00:00
Francesco Montorsi
1de14b4ade
use wxEmptyString instead of wxString() for default values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:51:45 +00:00
Robert Roebling
5acb9127c5
Correct spelling and signature of FixIndexesOfChildren
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 18:07:01 +00:00
Vadim Zeitlin
916eabe60e
add wxGenericStaticText ( #9656 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:04:00 +00:00
Jaakko Salli
68bcfd2c10
Eliminate (or at least reduce) 64-bit build warnings (as described in wxPG sourceforge bug report #2156069 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 12:23:48 +00:00
Jaakko Salli
4e7a37b4b0
Re-added GetSelectProperty() to wxPropertyGridManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 11:29:41 +00:00
Francesco Montorsi
f632e27b3f
group hit-test flags into an enum (like I did in docs); this makes easier to document them, but is also logically the best thing since wxRichTextBuffer::HitTest is documented to return only _one_ of those flags.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 19:13:50 +00:00
Stefan Csomor
c4825ef73a
moving embedding to common API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 19:01:32 +00:00
Jaakko Salli
703ee9f5ec
GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:22:08 +00:00
Robert Roebling
236a34ef3e
Fix crash again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 10:02:35 +00:00
Robert Roebling
2571a33fd3
implement GetSizeAvailableForScrollTarget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 19:18:28 +00:00
Francesco Montorsi
22c5cac637
fix typo (missing P2 argument in template)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 14:23:06 +00:00
Vadim Zeitlin
fc31181d2c
use wxScopeGuard instead of an explicit try/catch(...)/throw: this suppresses wxUSE_EXCEPTIONS tests and also avoids MSVC unreachable code warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 11:27:59 +00:00
Vadim Zeitlin
bcffb4d1a9
add 3 parameter scope guard; improve its documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 11:26:50 +00:00
Jaakko Salli
a57f24f97a
Removed '#ifndef DOXYGEN' sections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:19:02 +00:00
Jaakko Salli
9b5bafcf38
Removed dysfunctional wxPGPropery::PrepareValueForDialogEditing(); Replaced its functionality with wxPropertyGrid::GetPendingEditedValue(); Added wxPropertyGrid::PerformValidation() flags so it can be called in generic context.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:15:10 +00:00
Jaakko Salli
66db4345cf
Removed wxPropertyGridInterface::SetPropertyAttributes()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 17:02:02 +00:00
Vadim Zeitlin
f57258724a
added wxDC::GetHDC() for backwards compatibility with the existing wxMSW code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:09:09 +00:00
Stefan Neis
29fac1f6b1
Workaround for bug in gcc-3.1 through gcc-3.3 in handling deprecation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 12:11:07 +00:00
Stefan Neis
fcc9c05e7a
Avoid cyclic includes by forward declaring wxColour.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 22:22:19 +00:00
Jaakko Salli
ff1e1474ed
Removed SetPropertiesFlag() (high-level function using 'undocumented' wxPGProperty flags, IIRC was mostly used as poor-man's SetEditableState() and possibly for internal use until very recently)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:35:06 +00:00
Jaakko Salli
d61d8cffa9
Eliminated last property generation macros from props.h (colour property gen ones, now use subclassing facilities present in wx(System)ColourProperty)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:28:05 +00:00
Jaakko Salli
3a89adc1f0
Removed wxLongStringProperty derived property creator macros (just subclass and implement OnButtonClick()); Partially fixed wxPGProperty::PrepareValueForDialogEditing()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 16:56:43 +00:00
Robert Roebling
357d2b88cb
Forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 08:01:34 +00:00
Stefan Csomor
4fcb208a4f
porting dcscreen blit from 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 19:48:52 +00:00
Jaakko Salli
52cefafe7e
Minimize use of editor class macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 16:09:36 +00:00
Jaakko Salli
5a45dd6fd9
When registering editor, try wxRTTI class name in additon to result of wxPGEditor::GetName(). Allows creating custom editors without needing to implement GetName().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:48:27 +00:00
Jaakko Salli
c26873c8ef
Remove use of wxPG_EDITOR macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:38:30 +00:00
Jaakko Salli
75b6c4ce92
Removed GetExpandedProperties() (used to act as poor man's GetEditableState())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:24:05 +00:00
Jaakko Salli
ba9ed9d0c6
Removed wxPropertyGridInterface::ClearPropertyValue() (use SetPropertyValue(defaultValue) instead)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:10:00 +00:00
Vadim Zeitlin
fcc65883db
implemented wxMemoryFSHandler::FindFirst/Next()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:55:39 +00:00
Vadim Zeitlin
8c9d760210
made m_Hash object, not a pointer and moved hash declaration into the header as it's needed by the upcoming FindFirst/Next() implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:37:04 +00:00
Vadim Zeitlin
0eb2e51048
rewrite using type safe wxHashMap instead of wxObject-based wxHashTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:25:04 +00:00
Vadim Zeitlin
2780d31b74
remove erase(const_iterator) overload, it should have never existed as const_iterators can't be used to modify the container
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:24:25 +00:00
Stefan Csomor
f55d9f749b
moving more things to common API between carbon and cocoa, adapting WidthDefault etc, removing dependencies from wxClientDC from text measuring ops on wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 10:35:36 +00:00
Vadim Zeitlin
054f177b00
set svn properties correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 09:29:12 +00:00
Vadim Zeitlin
9c498e84bf
correct the example/documentation of GetDocumentsDir() return value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 22:56:23 +00:00
Jaakko Salli
ea5af9c535
Fix RCS-IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 18:03:43 +00:00
Jaakko Salli
858ad6708d
Need to call wxVScrolledWindow::UpdateScrollbar() in wxVListBox EVT_SIZE handler. Otherwise resizing wxVListBox does not update visible items count.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 13:56:40 +00:00
Vadim Zeitlin
9f7aee0198
added the possibility to draw grid lines across the entire window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 23:23:01 +00:00
Francesco Montorsi
c6cf894ae2
interface revisions of ta*h te*h headers; grouped wxTextAttr #defines into enums to make it easier to document them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 11:01:50 +00:00
Jaakko Salli
6280517046
Added Description Box Height to saveable/restoreable editable state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 10:59:06 +00:00
Robert Roebling
a5d567622f
Removed wxNavigationKey code, new keyboard navigation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 09:28:31 +00:00
Vadim Zeitlin
7802da36fa
don't duplicate base class m_acceleratorTable as m_accelTable in wxMenuBar, this is not only unnecessary but also doesn't allow using GetAcceleratorTable() to retrieve the menu bar accelerators ( #9654 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 22:15:40 +00:00
Jaakko Salli
b2c36e3549
Explicitly call wxObject ctor in wxColourPropertyValue ctors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 17:46:01 +00:00
Jaakko Salli
9e6bebdcac
Tweaked wxPGProperty::StringToValue() and IntToValue() docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 17:11:00 +00:00
Jaakko Salli
7adf8bf391
Remove wxPGClipperWindow, use wxBORDER_NONE instead of wxNO_BORDER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:23:00 +00:00
Jouk Jansen
0d59e2639d
solving missing definitions in include/wx/x11/cursor.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 07:42:19 +00:00
Jaakko Salli
1766bf3453
SetButtonShortcut() merged with action system
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 16:02:20 +00:00
Jaakko Salli
5ecd2ba500
Updated docs, removed SetPropertyModifiedStatus() (use wxPGProperty::SetModifiedStatus() instead)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 15:47:36 +00:00
Jaakko Salli
89b4415803
Moved ClearModifiedStatus() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 15:36:24 +00:00
Jaakko Salli
d4cd6b3e0e
Added missing propgrid related lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 14:37:53 +00:00
Václav Slavík
033508e1b1
get rid of public constants for various XRC defaults, there's no need for them outside of XRC loader
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 19:54:57 +00:00
Jaakko Salli
fe6ee7ec10
Use wxPendingDelete
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:43:06 +00:00
Vadim Zeitlin
b54129836c
add a more readable wrapper for CreateDocument(wxEmptyString, wxDOC_NEW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:04:43 +00:00
Jaakko Salli
0d4884cbf3
Unfocus text editor when enter is pressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 16:24:21 +00:00
Jaakko Salli
d8c74d044b
Use m_children as it were std::vector
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 15:13:00 +00:00
Benjamin Williams
7bce84396e
applied patch from ticket 10015; wxToolBar compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 10:42:50 +00:00
Václav Slavík
cf78bdcb68
added wxTaskBarIcon::IsAvailable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:54:02 +00:00
Jaakko Salli
f7a094e1af
Converted various wxArrayPtrVoids to wxVectors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 17:23:27 +00:00
Jaakko Salli
7eaed395dd
Fixed Connect() use sample case in CreateControls() docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:50:31 +00:00
Jaakko Salli
28fb19ef29
Try to make SetupChildEventHandling() more foolproof
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:33:43 +00:00
Jaakko Salli
47e343c6bf
Added missing dllimpexp declaration, added missing GetFailureBehavior() implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:36:52 +00:00
Robert Roebling
0ca422ef4c
Move body of SetFocusOnCanvas to .cpp file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 07:15:40 +00:00
Jaakko Salli
a6f2417d81
SetPropertyValue(prop, wxChar*) -> (prop, char*) and (prop, wxchar_t*)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 17:04:38 +00:00
Jaakko Salli
020b004113
Moved wxPropertyGrid::SetPropertyName() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 17:01:04 +00:00
Jaakko Salli
704ceca8d2
Removed wxPG_EX_LEGACY_VALIDATORS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:52:57 +00:00
Jaakko Salli
9891e165c5
Added missing wxPGValidationInfo::SetFailureMessage() implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:34:07 +00:00
Jaakko Salli
458917e8de
Removed wxPropertyGridEvent::HasProperty() (use GetProperty() != NULL instead)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:31:27 +00:00
Jaakko Salli
2a8312bced
Make wxPGValidationInfo class instead of struct, re-document it (used at least by derived wxPGProperty::ValidateValue())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:23:38 +00:00
Jaakko Salli
6b03a638a4
Doc and comment cleanup, fixes, tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:07:00 +00:00
Vadim Zeitlin
7929902d65
no real changes, just fixed all occurences of 'occurence' typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 12:10:58 +00:00
Vadim Zeitlin
d80170bd4d
extact common GAddress declarations to the common header instead of duplicating them for Windows and Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 17:37:01 +00:00
Vadim Zeitlin
8ac36abb0f
move check for wxUSE_IPV6 being defined to wx/chkconf.h where it belongs; reformatted/indented socket addresses classes declarations without really changing them (to avoid having unrelated changes in the upcoming commits)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 17:24:09 +00:00
Václav Slavík
12ca55868c
wxGTK: Fixed printing to use fonts sizes adjustment consistent with wxMSW. In
...
particular, screen resolution no longer affects text size in printed output
when using wx's map-screen-to-paper approach to printing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 09:33:04 +00:00
Jaakko Salli
0dc44cac21
Use wxUSE_LONGLONG_NATIVE more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:13:12 +00:00
Jaakko Salli
effb029c30
wxPropertyGridInterface docs cleanup and fixes, removed some rarely needed member functions with simple workarounds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:09:33 +00:00
Jaakko Salli
7a344f1be4
Fixed wxPGMultiButton (event handling, FinalizePosition() -> Finalize(), no longer using PG specific class macros in its sample), other editors.h interface fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 14:03:10 +00:00
Francesco Montorsi
75bc3a0d80
give a name to wxZlib enums to make it easier to document them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 10:58:15 +00:00
Francesco Montorsi
a18d02ecd2
add wxPosixPermissions enumeration; it provides more readable synonims for wxS_I* flags and makes it easier to document which flags can be used in wxFile functions and wxFileName::Mkdir (and in future wxFileName::Chmod); part of commmit 55908
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 10:28:43 +00:00
Jaakko Salli
d9fb481c56
Fixed and clarified editor control event handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 18:20:17 +00:00
Vadim Zeitlin
f9ec0ea7c5
eliminate the hysteresis when scrollbars didn't disappear when the window was resized to be less than its virtual size and then resized back to be slightly greater than it in the native GTK version too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 17:36:57 +00:00
Vadim Zeitlin
0a17f5b6b5
tried to make umask comment make more sense
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 13:46:45 +00:00
Francesco Montorsi
0b70c946a3
more f*h interface file revisions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 19:15:28 +00:00
Francesco Montorsi
0ef5b1dad1
provide backward-compat wxCursor(int) ctor; remove empty stubs of XBM ctor from all ports except gtk,motif; make all ports emit wxLogError on invalid bitmap types; implement wxCursor(const wxString&, ...) ctor on GTK (not tested yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:56:07 +00:00
Jaakko Salli
5a8009d2f1
Removed wxPropertyGridManager::GetChildrentCount() member functions - now use page->GetRoot()->GetChildCount() and such
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:23:54 +00:00
Jaakko Salli
9288df3401
AddPage(), InsertPage() now return page ptr instead of index
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:19:49 +00:00
Jaakko Salli
0f457f4de2
Reduce ambiguity of selection functions in wxPropertyGridManager, make them better match for wxPropertyGrid ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:11:02 +00:00
Jaakko Salli
b96a14e334
Removed wxPGProperty:GetArrIndex() in favor of GetIndexInParent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:04:11 +00:00
Jaakko Salli
0d6e0565c6
Removed redundant wxPGChoices::Set()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:02:46 +00:00
Jaakko Salli
47ea393a24
Removed redundant wxPGProperty::SetChoices()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:00:49 +00:00
Robin Dunn
fa70ec2b51
Consolidate old and new implementations of Get/SetSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:10:27 +00:00
Robin Dunn
e4a0fe083d
remove another SWIG #if
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:08:36 +00:00
Robin Dunn
aadca0d5ac
Revert last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 15:34:44 +00:00
Francesco Montorsi
f4efd805a0
small build fixes for PCH-less builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 09:56:22 +00:00
Robin Dunn
dd021ce2bd
More changes needed to fix problems resulting from unnecessary wxCursor changes :-(
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 05:00:52 +00:00
Kevin Ollivier
4954ee5032
Get wxMediaCtrl stub impl. going for OS X Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 00:02:52 +00:00
Kevin Ollivier
95710acb00
#ifdef Carbon-specific code to get stubbed DND support compiling for OS X Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:53:25 +00:00
Robin Dunn
5879b22eeb
Ignore the DECLARE_*()'s when swigging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:43:03 +00:00
Francesco Montorsi
95eee7ea38
made internal members of wxColourData public again; added a comment warning users to not use them directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 22:10:26 +00:00
Vadim Zeitlin
75eec3adfb
still define wxADJUST_MINSIZE when WXWIN_COMPATIBILITY_2_8 is 1 because it was defined (even if as just 0) in 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 20:51:08 +00:00
Francesco Montorsi
6869b469c6
fix build errors deriving from making wxColourData members private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 20:21:36 +00:00
Francesco Montorsi
d4f392ea20
use wxStockCursor (as documented and as already implemented in wxMotif) instead of a plain 'int'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 19:40:13 +00:00
Francesco Montorsi
c40555e948
made internal members of wxColourData private; they were not documented to be public BTW so there should be no backward-compatibility issue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:58:49 +00:00
Francesco Montorsi
d62c1e628d
changed wxColourData::GetCustomColour to const; there's no reason for it to be non-const; fixed wxColourData iface header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:57:18 +00:00
Vadim Zeitlin
7ce2fb7139
reverted r55167, see #9854
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:38:53 +00:00
Jaakko Salli
bb6720bb9e
Document revisioning (including more wx-like formatting and internal function removal)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 17:37:27 +00:00
Jaakko Salli
24588cd306
Remove obsolete references to 'target page' concept
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:38:49 +00:00
Jaakko Salli
40924780ea
Remove doc references to 'common value' (which is unfinished feature)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:35:32 +00:00
Vadim Zeitlin
eb00016c5a
fix METRIC_CONVERSION_CONSTANT which got accidentally divided by 10 in r45721
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:20:43 +00:00
Vadim Zeitlin
18666b42ca
no changes, just clarified meaning of various conversion functions in a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 12:43:35 +00:00
Kevin Ollivier
01250f9b2c
Adding compiling (but not yet working) taskbar implementation for OS X Cocoa, mostly borrowed from wxCocoa. Also enabled HTML Help support as it seems this compiles fine now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:51:32 +00:00
Vadim Zeitlin
bba5e72ad3
hook the docview-specific customization of event handling logic at TryValidator() level instead of ProcessEvent(): this ensures that the events are not sent to wxApp before they're passed to all the handlers which might process them (before the events were passed to wxDocument and then immediately to wxApp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:33:11 +00:00
Vadim Zeitlin
25250d335f
extracted the part of ProcessEvent() which is repeated multiple times during the handling of a single event in the new ProcessEventHere() method; this ensures that wxApp::FilterEvent() is not called multiple times for the same event unnecessarily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:08:28 +00:00
Francesco Montorsi
98ccd54522
various misc ifacecheck fixes (many virtual attributes missing)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 23:13:49 +00:00
Francesco Montorsi
c48d0d37c2
complete rev55777 with some icon.h modifications which I missed in the first place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 21:09:36 +00:00
Francesco Montorsi
cbea3ec6ae
introduced wxICON_DEFAULT_TYPE and wxBITMAP_DEFAULT_TYPE; documented these default argument values; matched the wxBitmap and wxIcon interfaces to their real implementations; revised icon.h interface header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 20:03:14 +00:00
Jaakko Salli
af27647706
Fixed non-precompiled headers compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 19:58:19 +00:00
Stefan Csomor
5f9c3802c1
fixes #9982
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 19:04:42 +00:00
Stefan Csomor
f50491352a
fixing focus, fixes #9985
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 18:52:01 +00:00
Jaakko Salli
a6162a3eaf
'wx(U)LongLong << variant' type safety improved (now works even if variant has plain long value). Added << operator and WXVARIANT template specialization for wx(U)LongLong_t as well. Changed WX_PG_DECLARE/IMPLEMENT_VARIANT_DATA so that classname << variant can be customized.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 16:54:22 +00:00
Jaakko Salli
a48fcef3e8
Remove redundant GetValueRef() from wxVariantData impl macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:58:03 +00:00
Jaakko Salli
3c26d11be9
Moved SetPropertyAttributeAll() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:42:08 +00:00
Vadim Zeitlin
a363af33bf
no changes, just reformat/reindent, remove wxT()s
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 10:27:24 +00:00
Václav Slavík
fc2bb342ec
route all Cairo calls in GTK printing code through gs_cairo (is this still needed?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 09:42:49 +00:00
Václav Slavík
40fcf546f6
added wxGetDisplayPPI() convenience function and wxPrintout::SetPPI*() overloads accepting single wxSize argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 09:35:49 +00:00
Václav Slavík
0c75b29e1e
progress message passed to wxDC::StartDoc() is not appropriate for PostScript document title
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:49:08 +00:00
Robert Roebling
aef06ee169
Added wxDList<T>. not yet used anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:44:24 +00:00
Kevin Ollivier
78d990152a
Stubbed wxToolTip implementation to get code that uses it building.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 00:51:44 +00:00
Kevin Ollivier
cfea8e619a
Source changes needed to get MDI support compiling on OS X Cocoa, and a explicit cast to CGImageRef so the compiler doesn't complain.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:06:58 +00:00
Vadim Zeitlin
77d2c45c38
add const synonyms for wxGridTableBase::GetNumberRows/Cols(), using const_cast<> all the time is painful
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 22:03:27 +00:00
Vadim Zeitlin
dfa569f0f9
fix g++ warning about order of objects in the initializer list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 21:58:20 +00:00
Vadim Zeitlin
8b5f6d9d47
use a single wxKeyboardEvent parameter instead of 4 bools in tons of places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 00:09:28 +00:00
Vadim Zeitlin
ba4d737a9e
allow specifying the initial modifier keys values in the ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:59:39 +00:00
Vadim Zeitlin
8a3e536cd5
- Main change is the addition of wxGridSelectRowsOrColumns selection mode
...
(which is still probably buggy, wxGridSelection needs to be reviewed)
- Add XYToCell() overloads returning wxGridCellCoords (instead of modifying the
argument passed by reference -- where did this come from?) and document them.
- Added GoToCell() which does make the new current cell visible unlike
SetGridCursor() (which was documented as doing it, but wasn't)
- Changed SetCurrentCell() to only not change the cell if wxEVT_GRID_SELECT_CELL
it generates is vetoed, not just processed as this seems to make more sense
- Split jumbo (~400 lines) ProcessGridCellMouseEvent() function into chunks
- Add many more comments to make reading this code seem less like puzzle
solving for the next unfortunate soul to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:33:04 +00:00
Vadim Zeitlin
0e0977894a
make wxKeyEvent and wxMouseEvent derive from the same wxKeyboardState object (indirectly via wxMouseState in the case of the latter) to make Get/HasModifiers() available in wxMouseEvent as well while avoiding code duplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 18:41:41 +00:00
Jaakko Salli
d577449426
Removed macros to create enum and flag props with custom, static choice sets. Now use wxPGProperty::SetChoices() instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:39:09 +00:00
Jaakko Salli
d53f610c1c
Eliminated WX_PG_DECLARE/IMPLEMENT_DERIVED_PROPERTY_CLASS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:24:34 +00:00
Jaakko Salli
7eac5c531c
Eliminated WX_PG_DECLARE_X_METHODS macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:13:51 +00:00
Jaakko Salli
939d936402
Moved wxPGChoices m_choices member from various property classes to base wxPGProperty. This allows any property to have choices without subclassing and therefore work with Choice and ComboBox editors. Also removed redundant choice manipulation functions from wxPropertyGridinterface (ie. now use ones in wxPGProperty).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 16:57:33 +00:00
Vadim Zeitlin
b7bfef3806
implement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e. not generate any events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:08:02 +00:00
Vadim Zeitlin
e2074948cb
cancel the current operation if mouse capture is lost ( #9979 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 07:38:24 +00:00
Robert Roebling
4f47a8d0c6
Move definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be used from elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 19:05:21 +00:00
Francesco Montorsi
8e1903816a
fix for gccxml
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:47:57 +00:00
Vadim Zeitlin
856b41f96c
use #defines, not typedefs, for compatibility class names declarations to avoid breaking existing code forward declaring them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:56:53 +00:00
Stefan Csomor
70bf329592
fixing deprecated constructors for osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 09:12:32 +00:00
Stefan Csomor
326b62161d
in release builds gcc on osx evaporates these inlines if not WXEXPORTed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 08:38:25 +00:00
Jaakko Salli
573cdf43af
Removed wxPGProperty class overview docs from actual header file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:15:36 +00:00
Jaakko Salli
15cbcd00da
Fixed typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:11:49 +00:00
Jaakko Salli
e999688506
Removed unused commented-out define
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:09:29 +00:00
Jaakko Salli
5b69ffcb68
Removed #ifndef DOXYGEN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:08:22 +00:00
Jaakko Salli
c29e714c37
Added separate SetFocusOnCanvas() function so that m_editorFocused will be more reliable updated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 17:34:22 +00:00
Jaakko Salli
f4bc1aa27c
wxUSE_PROPGRID is now recognized by source and header files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:00:00 +00:00
Stefan Csomor
e1214731e3
fixing redefine warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 18:00:21 +00:00
Vadim Zeitlin
10a4531d1d
more grid folding: got rid of duplicate version of methods for finding the closest row/column edge, appending/inserting/deleting rows/columns, and moving cursor vertically/horizontally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:31:44 +00:00
Jaakko Salli
0372d42ea5
Eliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default value for new types is now Null variant). Re-created variantdata creator macros based on those found in variant.h. Using DECLARE/IMPLEMENT_VARIANT_OBJECT whenever possible.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 15:55:53 +00:00
Robert Roebling
946954d3bf
Added reverse iterator to wxVector<T>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 12:43:11 +00:00
Julian Smart
5cb0b827f1
Switched off some buggy optimisation that caused caret positioning/drawn text mismatch.
...
Fixed defragmentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 10:58:32 +00:00
Vadim Zeitlin
bec7026270
start of the great grid folding: introduce wxGridOperations class and use it to avoid duplicating the same code for rows and columns in a couple of methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 08:32:12 +00:00
Vadim Zeitlin
d41f34403c
disable AUI (and also MDI in 2.8) under CE, it doesn't make much sense there and doesn't currently compile anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 08:03:55 +00:00
Vadim Zeitlin
1372f8ccd0
use wxSwap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 16:13:06 +00:00
Vadim Zeitlin
6ebd2716cf
document wxDELETE() and wxDELETEA()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 16:06:36 +00:00
Vadim Zeitlin
ff72f628bb
more cleanup (removed some TODOs/FIXMEs); use native header drawing for the corner window too if it is enabled at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 14:06:28 +00:00
Vadim Zeitlin
02f3ee3d10
remove the now unused GetScroll[XY]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 13:36:28 +00:00
Vadim Zeitlin
bf2c8b318e
take old (wx 2.2? older?) wxGrid compatibility functions inside WXWIN_COMPATIBILITY_2_8; rearrange some declarations order but no real changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 12:18:07 +00:00
Vadim Zeitlin
69367c566e
move the grid-specific workaround for scrollbar hysteresis to wxScrollHelper itself, the scrollbars now should not only appear but also disappear correctly during resizing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 22:44:08 +00:00
Vadim Zeitlin
801a964104
no changes, just removed the unnecessary wxGrid:: qualifiers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 21:28:44 +00:00
Jaakko Salli
f379342915
Have support for both char* and wchar_t* in wxPGPropArg. Moved wxPGPropArgCls member function to propgridiface.cpp which is more logical location since class is in propgridiface.h. Added char* test cases.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 16:48:20 +00:00
Jaakko Salli
8f18b25245
Fixed bug: Setting property value string did not update children of composed parent (ported from wxPG SVN trunk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 16:20:48 +00:00
Jaakko Salli
258ccb95f5
Updated documentation to acknowledge the fact that properties can have identical labels, and that they must have non-empty name that is unique under parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:53:21 +00:00
Jaakko Salli
d665918bd2
wxVariant list used to translate between list of property child values and composite value string now maps values by names instead of labels. Naturally this means properties can no longer have empty name (this change allows using identical labels under same parent property. Ported from wxpropgrid SVN trunk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:14:32 +00:00
Jaakko Salli
4a84bb72a4
Removed dllimpexp declaration from std::vector typedef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 08:46:02 +00:00
Vadim Zeitlin
35c2aa4f19
added wxFileName::GetVolumeString() ( #9950 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 01:18:05 +00:00
Vadim Zeitlin
4db307e110
build fixes for wxUSE_ON_FATAL_EXCEPTION==0 ( #9937 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:26:29 +00:00
Vadim Zeitlin
99774d589d
check the item index inside Item() itself instead of checking it inside some callers of this function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:04:23 +00:00
Vadim Zeitlin
cac09ce8b7
cache the item text size to optimize tree layout/painting ( #9956 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 21:28:57 +00:00
Jaakko Salli
23b4f32040
wxPropertyGrid member m_visPropArray removed, now always recreated from scratch in DoDrawItems()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:14:20 +00:00
Jaakko Salli
30595b81f2
Cleaned up wxPropertyGrid::SetCurrentCategory()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:43:44 +00:00
Jaakko Salli
a349c43322
Fixed warnings caused by docstrings in %pythoncode section
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:18:59 +00:00
Vadim Zeitlin
1c4293cb91
added wxPropertyGrid from Jaakko Salli ( #9934 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Stefan Csomor
f4cbd74e8c
CoreText fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:35:16 +00:00
Stefan Csomor
6cc970f332
missin quote
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:30:20 +00:00
Vadim Zeitlin
a3ac93e3ac
return true from IsBeingDeleted() if any of the parent windows is marked for destruction too (see #9867 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 14:09:30 +00:00
Vadim Zeitlin
5d984f5d97
fix the event type in EVT_GRID_[CMD_]COL_MOVE declaration: this event handler receives wxGridEvent and not wxGridSizeEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 12:49:11 +00:00
Stefan Csomor
fe21801d4a
making state changing calls on tool virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 09:50:15 +00:00
Vadim Zeitlin
72513c369e
added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle() (argh, another forgotten file, should have been part of r55561)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:41:49 +00:00