Commit Graph

4463 Commits

Author SHA1 Message Date
Vadim Zeitlin
f34851f5af remove obsolete makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 10:02:45 +00:00
Vadim Zeitlin
fa05a943e9 implement GetSizeAvailableForScrollTarget() in MyScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 19:39:27 +00:00
Robert Roebling
04aac2dd12 For some reason, wxMac now requires explicit sizes in this sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:56:14 +00:00
Jouk Jansen
ea279fc5af update XPM variable names for docview sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:40:55 +00:00
Vadim Zeitlin
00a1c49a77 compilation fix for wxUSE_STD_IOSTREAM==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:22:53 +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
Vadim Zeitlin
ea84f255b1 no real changes, just come cleanup (use constants instead of hardcoded values; remove _T()s; don't allocate things on the heap unnecessarily; don't make members public or protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 13:29:26 +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
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
a400d56be1 Added test for Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:55:23 +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
Vadim Zeitlin
7da8bfe30d add VC9 project files (closes #9960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:42:00 +00:00
Vadim Zeitlin
8ece421c6c rebaked makefiles with 0.2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 15:44:49 +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
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
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
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
58f43b41b1 Use wxPGEditor_X instead of wxPGEditor(X), as in new docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 14:23:28 +00:00
Vadim Zeitlin
45a50a2e8f fix VC6 compilation problems due to its for variables scope brokenness (closes #10035)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 21:52:59 +00:00
Vadim Zeitlin
73d28bdf3b don't build memcheck (fails in release) and MFC (fails if MFC is not available) samples by default (#10031)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:29:00 +00:00
Vadim Zeitlin
2d1df0fc58 merged docvwmdi sample into docview one to avoid having 2 almost identical samples; and modernized and cleaned up the code in the process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:16:01 +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
Václav Slavík
d4b7035be4 fixed incorrect separators markup in samples/xrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:04:32 +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
c8074be06b RegisterAdditionalEditors() to work even if no wxPropertyGrids created, in sample moved editor registration before first CreateGrid() call to prevent crash, removed wxPG_USE_WXMODULE support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:50:03 +00:00
Jaakko Salli
524d97b1c2 Register multibutton editor class in frame ctor instead of CreateGrid() (this fixes memleak in tests)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:29:50 +00:00
Jaakko Salli
adea524493 Use wxPropertyGridEventHandler in commented-out sample connect code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:17:21 +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
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
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
1802a91dec Fixed bug: Settings property attribute to wxNullVariant would cause GetAttribute() to fail (wxPG SourceForge bug #2128485)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:13:32 +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
bba3f9b5bc A lot of documentation revision. Updated doctest code in propgrid sample to reflect sample code on overview page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 14:13:32 +00:00
Kevin Ollivier
7664a67f57 Rebake after bakefile changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:59:10 +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
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
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
Jaakko Salli
7926988b5f Added section for propgrid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:25:48 +00:00
Vadim Zeitlin
c70d645d7f rebaked after propgrid sample addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:44:48 +00:00
Jaakko Salli
85ead075be Added 'propgrid'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 15:23:18 +00:00
Jaakko Salli
68545f7889 Removed some old testing code. Added more appropriate minimal content.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:49:52 +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
Jaakko Salli
938593c00a Removed some test code left in a long time ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:00:42 +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
Vadim Zeitlin
4a25320b90 add SetUseNativeColLabels() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 14:05:16 +00:00
Vadim Zeitlin
d9f4cc1060 make the simple canvas larger as otherwise the simple frame couldn't be resized to make the horizontal scrollbar appear in it because of the title string width; some small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 20:43:13 +00:00
Vadim Zeitlin
55ab5200fb delete the old labels when recreating the spin controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:53:31 +00:00
Vadim Zeitlin
242ec2f7e9 really, really fix handling Enter in spin controls: only request it for the control if wxTE_PROCESS_ENTER is used to avoid breaking the use of Enter for the default item activation if it isn't; also document wxTE_PROCESS_ENTER style for wxSpinCtrl and add it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:50:30 +00:00
Vadim Zeitlin
a6aa377bb3 use transparent icons and clear the DC before drawing them to fix the background of state icons appearance (part of #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:15:19 +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
9b5d2f3fae Removed remnant use of wxCHECK_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 14:59:47 +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
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
Vadim Zeitlin
f0afc953c9 test wxCANCEL_DEFAULT flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:40:15 +00:00
Stefan Csomor
ffa9db0d2a adding new toolkits for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:14:21 +00:00
Vadim Zeitlin
9ad2fe62d1 made wxLogGui more flexible and documented it and added example of customizing it to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:58:54 +00:00
Stefan Csomor
1aac44b9da adding new toolkits for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 12:30:18 +00:00
Vadim Zeitlin
b3ca7c855f don't use wxStrings in a statically initialized array of structs, VC6 doesn't like it (re-closes #9492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 11:22:58 +00:00
Vadim Zeitlin
4e2dc7895b add tests for the remaining message box flags (wxNO_DEFAULT and wxCENTRE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-09 17:25:34 +00:00
Benjamin Williams
0766faa34e fix aui sample breakage; added some accessor methods to wxAuiToolBarItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-08 09:56:49 +00:00
Vadim Zeitlin
44b25eac69 added a dialog for wxMessageBox testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-08 00:49:06 +00:00
Vadim Zeitlin
5150a29ab9 no changes, fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:41:59 +00:00
Vadim Zeitlin
4223fc75b5 use more clear messaage about the custom labels in message box test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 16:56:45 +00:00
Kevin Ollivier
509f339a81 rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 07:57:32 +00:00
Vadim Zeitlin
0c6afdbf4c test showing parent/sibling items too (#9903)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:16:56 +00:00
Vadim Zeitlin
2549484fe5 compilation fix in wxUSE_STL case after r54761
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 15:05:02 +00:00
Vadim Zeitlin
e85eaef3fa override DoOpen/SaveDocument() instead of OnOpen/SaveDocument(), just as in docmdi sample after r55141/r55142/r55143 changes (#9892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 11:38:12 +00:00
Vadim Zeitlin
f65e33a31d get rid of duplicate enum (#9895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 09:59:11 +00:00
Benjamin Williams
b5d196c1d4 updated aui sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 09:28:26 +00:00
Stefan Csomor
d3d256efc1 fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 14:14:35 +00:00
Vadim Zeitlin
b2c9e3447d remove unneeded dependencies from bakefiles and regenerate the make/project files (closes #9850)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 22:18:31 +00:00
Vadim Zeitlin
67abc78356 add a radio box to select the combobox type (#9845)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:37:22 +00:00
Vadim Zeitlin
e928566f7d document that text drawing is not affected by the current logical function and update the sample to not imply that it is (#9842)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:14:58 +00:00
Vadim Zeitlin
e0ac7d941f continue even if the bitmaps can't be found; look for them in argv[0] directory too; use more clear name for ROP screen in the menu (#9839)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:06:21 +00:00
Stefan Csomor
c9d13e86a6 updating the comment as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:58:32 +00:00
Stefan Csomor
1c6dca77a1 using the 'new' bottleneck methods, fixing bugreport from Bengt Nilsson <bengt.nilsson11@spray.se>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:49:42 +00:00
Vadim Zeitlin
11986debff don't use the same tool ids for multiple tools, this is bad idea under Windows and breaks tool commands handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 13:40:18 +00:00
Stefan Csomor
78a9167e55 adding generic BUNDLE_RESOURCES for copying any special resources into the bundle, renaming BUNDLE_ICONS to BUNDLE_ICON = the path of the app icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:20:57 +00:00
Paul Cornett
28c45c53a6 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:26 +00:00
Vadim Zeitlin
2a998b7344 label different controls on spin page (#9816)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 16:58:54 +00:00
Stefan Csomor
e5398809bc custom info.plist with supported document types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 11:55:21 +00:00
Vadim Zeitlin
6d9b671692 mark holidays if wxCAL_SHOW_HOLIDAYS is on (replaces #9155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:55:44 +00:00
Vadim Zeitlin
1c3e52af4b fix wxMenu leak (reopened #9089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:05:17 +00:00
Vadim Zeitlin
979a73474c added trivial wxLaunchDefaultApplication() implementation for wxMac; added a test for it to the exec sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:49:06 +00:00
Vadim Zeitlin
8758875e0b added enabled and hidden attributes to radio box items in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 18:21:38 +00:00
Vadim Zeitlin
6b1eedc1bb add more stock items (#9799)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:38:02 +00:00
Vadim Zeitlin
795b5a8bf6 no real changes, just some minor cleanup to fix a few compile- and run-time warnings (#9805)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:12:09 +00:00
Vadim Zeitlin
567d9d70c1 fix (harmless) Win64-compatibility MSVC warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:11:20 +00:00
Vadim Zeitlin
66ad7d6a0a compilation fix for builds without wxHAS_RAW_KEY_CODES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 05:33:36 +00:00
Vadim Zeitlin
c19c2f6efa disable compilation of test broken by wxMimeTypesManager changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:36:04 +00:00
Vadim Zeitlin
589c1174f4 removed automatically generated code for frame layout with human-readable version; some other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 01:20:33 +00:00
Vadim Zeitlin
293b15f78d added wxVListBox::GetItemRect() (#9711)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 17:28:31 +00:00
Vadim Zeitlin
1bf55f4cda use wxString::Format() instead of hardcoding floating point numbers string representation, this doesn't work in locales using decimal comma (#9714)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 16:33:19 +00:00
Vadim Zeitlin
4f6c80fecd add a numeric column test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 02:20:21 +00:00
Paul Cornett
bbe28fbb83 mark long-deprecated methods as such, and don't use them in wx code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:23:01 +00:00
Vadim Zeitlin
d002ff4e31 remove unused exec.rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 23:48:54 +00:00
Vadim Zeitlin
e974c5d258 implement wxListCtrl::GetSubItemRect() for generic version and fix bug in it in wxMSW one; also added a test for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 18:21:33 +00:00
Vadim Zeitlin
6a8d793736 add a new menu for wxTextEntry-specific tests, currently it allows to check how auto-completion works (#9614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:35:35 +00:00
Vadim Zeitlin
929b79014a support wxListCtrl::GetViewRect() in report view too; test it in the sample (#9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:12:12 +00:00
Vadim Zeitlin
837b01e2f8 use wxIconizeEvent::IsIconized() instead of deprecated Iconized()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 21:07:42 +00:00
Vadim Zeitlin
d8cda32e74 build fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 17:25:28 +00:00
Robert Roebling
f95dc4d620 Compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-24 12:56:25 +00:00
Robert Roebling
4754ab1630 Next part of tree state icon patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-24 12:48:01 +00:00
Paul Cornett
dea482c985 fix crash on exit, after hiding search tool then toggling tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-24 06:48:02 +00:00
Julian Smart
5b4567ee4c Don't fail to get correct extension if there's a dot somewhere else in the path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-23 13:38:31 +00:00
Vadim Zeitlin
a30e702974 added wxGenericStaticBitmap (#9608)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:32:33 +00:00
Bryan Petty
57b2bba406 Leftover changes for sample doc improvements in ticket #9582 (most of the patch was applied already in r54310).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 06:13:20 +00:00
Bryan Petty
5d4cca7f4b Patch from Utensil Candel with large improvements to the samples documentation, and a PCH fix for the power sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 05:10:40 +00:00
Paul Cornett
b8c57d7f0e don't include private header in a sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 16:57:51 +00:00
Robert Roebling
6695f8f826 Give spin button the same height as the associated text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:20:55 +00:00
Vadim Zeitlin
bb573115a9 fix compilation of TestRegConfRead()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-17 17:12:18 +00:00
Vadim Zeitlin
dd740d86ce don't recreate combobox with proportion of 1 (instead of initial 0) (#9594)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 23:09:55 +00:00
Stefan Csomor
6e615e25fa new path organisation for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 05:13:09 +00:00
Stefan Csomor
d47939d60c new path organisation for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 05:12:03 +00:00
Vadim Zeitlin
bf3bf67786 compilation fix (casts for mb_str() used as argument to printf() and a few others) (#9571)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:27:07 +00:00
Vadim Zeitlin
d6d9c22365 change shortcut for "Sort" to Ctrl-T to avoid conflict with another item using Ctrl-S (#9574)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:06:12 +00:00
Vadim Zeitlin
6f292345cf fix reference counting problems with wxGridCellWithAttr (re-#9567)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 21:37:58 +00:00
Julian Smart
f64f03b529 Skip base command line parsing, which fails when passing a book file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 11:56:42 +00:00
Stefan Csomor
17e75d3fa7 mac paths updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 20:14:32 +00:00
Stefan Csomor
2383c21c63 mac paths updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:15:36 +00:00
Stefan Csomor
b908d7e777 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:08:41 +00:00
Stefan Csomor
e53d24bab1 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:07:53 +00:00
Stefan Csomor
a74abe359c fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:07:37 +00:00
Stefan Csomor
0f59e79403 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:07:17 +00:00
Stefan Csomor
46d2a1c5a2 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:06:16 +00:00
Stefan Csomor
beaf411771 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:05:59 +00:00
Stefan Csomor
cf30b51ff8 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:05:31 +00:00
Stefan Csomor
e5ef1cae0f fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:04:55 +00:00
Stefan Csomor
16c4516d93 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:04:38 +00:00
Stefan Csomor
1718ef3b37 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:04:23 +00:00
Stefan Csomor
7fe98c3f83 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:03:44 +00:00
Stefan Csomor
97b17a28bd fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:03:25 +00:00
Stefan Csomor
bd37a14e36 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:03:07 +00:00
Stefan Csomor
78f541fa5b fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:02:41 +00:00
Stefan Csomor
05fe1d6479 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:02:13 +00:00
Stefan Csomor
55cfaef07d fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:01:48 +00:00
Stefan Csomor
b55fe11536 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:01:34 +00:00
Stefan Csomor
7c69411753 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 17:59:58 +00:00
Stefan Csomor
cd25ce61b5 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 17:59:25 +00:00
Stefan Csomor
8aed3613cc fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 17:59:00 +00:00
Stefan Csomor
ac3e52f83f fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 17:57:20 +00:00
Stefan Csomor
dee64e40bf fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 17:56:48 +00:00
Stefan Csomor
0feed97d9e fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 17:56:27 +00:00
Vadim Zeitlin
abbcf16d06 set a global flag on shut down instead calling Delete() on all threads sequentially which could take an eternity if there were many of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 16:54:29 +00:00
Vadim Zeitlin
3a105cbc3c do what we advise, not what we say is unsupported: don't log directly from worker threads to wxTextCtrl but do it from the idle handler of the main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 16:39:08 +00:00
Vadim Zeitlin
a96bab36bf present information about key presses better; some code simplification (#9541)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:24:49 +00:00
Vadim Zeitlin
d53b09d870 don't show the normal context menu while editing an item (#9543)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:30:25 +00:00
Václav Slavík
7258d99573 Changed wxHTML default font size for printing to be 12pt regardless
of the platform; this font shouldn't depend on toolkit's default
GUI font (introduced in 2.8, now reverting to pre-2.8 correct
behaviour).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 22:34:09 +00:00
Vadim Zeitlin
79478afacd compilation fix for wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 18:46:15 +00:00
Václav Slavík
e835292782 regenerated all trunk makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 14:48:50 +00:00
Vadim Zeitlin
2e334012b4 use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:52:22 +00:00
Vadim Zeitlin
0ef7449a2e compilation fix for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 16:56:46 +00:00
Vadim Zeitlin
73d1f52bb0 added missing wx/wrapsizer.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 15:32:41 +00:00
Vadim Zeitlin
ba4ed8f465 fix compilation with wxUSE_DRAG_AND_DROP==0 (as in wxX11 build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:07:44 +00:00
Vadim Zeitlin
17483f70a5 use 'i' and 'd' instead of WXK_DELETE/INSERT as wxMSW list control doesn't get the latter keys in its OnListKeyDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 01:05:43 +00:00
Vadim Zeitlin
508b652335 ensure that GetEditControl() returns something even if label editing was started by the user and not the program (closes #1325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:26:07 +00:00
Vadim Zeitlin
cd431efcdf fix MSVC /Wp64 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 23:58:15 +00:00
Vadim Zeitlin
be83461c7c add test for bug 716
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 22:25:45 +00:00
Vadim Zeitlin
ec8bb9248e compilation fix after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 15:09:39 +00:00
Vadim Zeitlin
d253c3fd9a added wrapsizer (should have been checked in a long time ago)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 23:28:53 +00:00
Vadim Zeitlin
8c7da4a6b2 correct toggling of the selected icon (closes 4029)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:49:22 +00:00
Robert Roebling
0f252d1171 Update controls sample to follow documented logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:04:37 +00:00
Robert Roebling
a7a27e86fa Make height of red square depend on value in the model
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 11:54:30 +00:00
Robert Roebling
fbfecac9ab Add test for progress renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 09:42:52 +00:00
Robert Roebling
9b50afeff7 replaces unsigned int with wxUIntPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 17:15:27 +00:00
Vadim Zeitlin
a2c9411060 use GtkComboBox instead of deprecated GtkOptionMenu for wxChoice; this also allows to derive wxComboBox from wxChoice in wxGTK as in wxMSW (ticket #9150)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 17:26:28 +00:00
Vadim Zeitlin
73545b1290 fix crash in BitmapComboBoxWidgetsPage under wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:44:49 +00:00
Robert Roebling
344ed1f386 Option for variable line heights (MSW and GTK+ sofar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 12:37:32 +00:00
Vadim Zeitlin
13a3888794 extracted wxWrapSizer in separate files and somewhat improved it (heavily modified patch 1876663)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 22:45:44 +00:00
Václav Slavík
eed04c9999 changed ShowWithEffects() to use directional wxSHOW_EFFECT_XXX flags instead of additional wxDirection argument that doesn't always make sense; this also means the direction is never implicit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 21:56:26 +00:00
Vadim Zeitlin
1df90f2dbc add a combobox to one of the toolbars, just for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:28:21 +00:00
Vadim Zeitlin
f906a23eaf remove _T()s, they're unneeded now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 23:30:33 +00:00
Robert Roebling
0b822969a6 Added new wxGraphicsContext:Create( wxPrinterDC ) instead of wxDC:CreateGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 20:39:57 +00:00
Vadim Zeitlin
952ff7bc3c fix wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:31:09 +00:00
Václav Slavík
52bbab36a2 report Unicode characters when reporting EVT_CHAR in keyboard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:09:20 +00:00
Václav Slavík
7ef3025745 use the new DoLogString signature (fixes with 2.8 compat switched off)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 10:57:48 +00:00
Robert Roebling
0286bbe9b3 wxCairoGraphics need a font event without drawing text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 18:53:02 +00:00
Robert Roebling
7e38ae608c Some testing code for wxGraphicsContext printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 18:50:27 +00:00
Robert Roebling
efdb961d8f Reverted accidental change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:08:27 +00:00
Robert Roebling
32cb55b0bb Reverted accidental change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:06:14 +00:00
Robert Roebling
e5a2506df5 Reverted accidental change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:04:52 +00:00
Robert Roebling
a4f03d8798 Layout improvements for CalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:01:13 +00:00
Robert Roebling
7b0ccb8a60 [ 1936700 ] wxCAL_SHOW_WEEK_NUMBERS, slightly modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 15:31:50 +00:00
Robert Roebling
51e21862c3 Use correct tree style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-15 09:06:11 +00:00
Robert Roebling
0c8ed3eb3a Support bitmaps and text and header columns using wxImageList, minor sizing corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 20:14:04 +00:00
Robert Roebling
419a360703 Corrected/added support for column headers with icon and text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 20:07:53 +00:00
Robert Roebling
c232dfe592 Add test for context menu, fixed mem leak, fixed focus problem when re-editing same item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 10:40:58 +00:00
Robert Roebling
f2b7492a88 By default, align renderers as column header under GTK+, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 10:39:57 +00:00
Robert Roebling
e39de7022c Split wxDataViewVirtualModel fork wxDataViewIndexModel to make the code clearer and let wxDataViewIndexModel behave the same on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 09:27:21 +00:00
Robert Roebling
a39d750168 Test header and renderer aligment separately, II
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:16:04 +00:00
Robert Roebling
f593b0b9b0 Test header and renderer aligment separately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:07:23 +00:00
Vadim Zeitlin
4e553af160 don't bounce back events to the text control recursively as this results in infinite recursion under wxGTK and probably other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 17:02:25 +00:00
Vadim Zeitlin
87e024f7d5 delay setting the window shape until it is realized (slightly modified patch 1935497)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:14:49 +00:00
Vadim Zeitlin
f1223c8d55 added a note about entry point in Unicode build (patch 1934836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:01:01 +00:00
Vadim Zeitlin
9b8d875536 demo toggling border and 3D sash styles (last part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:46:49 +00:00
Vadim Zeitlin
513f592da6 use wxJoin() instead of redoing it manually in the code logging the messages (part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:45:36 +00:00
Vadim Zeitlin
20fe9c5acc demonstrate fuller about dialog in ShowFullAboutDialog() (part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:42:48 +00:00
Vadim Zeitlin
6bdf5153fe no changes, just some cleanup (patch 1918720)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 13:57:23 +00:00
Robert Roebling
ede0e4968c Also right-align second column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 18:25:11 +00:00
Robert Roebling
78f6b056e4 Added test for right alignment of 1st column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:29:08 +00:00
Robert Roebling
83087c601f Added test for left/centre/right alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:26:29 +00:00
Robert Roebling
0bdfa38835 Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:09:15 +00:00
Vadim Zeitlin
db0b0942f8 implemented toggling of wxCAL_MONDAY_FIRST in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:35:43 +00:00
Vadim Zeitlin
82c6027b47 implemented Mark() in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:26:39 +00:00
Vadim Zeitlin
ee22a3a2a6 implemented HitTest() in the native MSW version; added test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 14:58:44 +00:00
Vadim Zeitlin
bf956fac0e move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:43:34 +00:00
Vadim Zeitlin
628e155d8c added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Robin Dunn
befc36f888 Use C++ names in the text, not wxPython names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:27:12 +00:00
Vadim Zeitlin
b3514fd617 MSW fixes for the last change: call Realize() after changing the toolbar; hide/show the window when removing/adding it back as it isn't done by Remove/InsertTool() under MSW unlike under GTK (should it?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:32:41 +00:00
Vadim Zeitlin
1be45608e7 Several fixes for removing/readding controls to the toolbar:
1. Don't destroy the control in wxToolBar::RemoveTool() as this prevents
   it from being added back with is the purpose of using RemoveTool() rather
   than DeleteTool().

2. Call wxToolBarTool::Attach/Detach() from the base code, not just from wxMSW
   and wxMac (wasn't called by wxGTK at all).

3. Allow adding back the removed control tool in wxGTK.

4. Add test for removing/adding back a control tool to the sample.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:10:19 +00:00
Francesco Montorsi
b052c79adc the control which can be enabled/disabled is a text control not a listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 18:04:21 +00:00
Vadim Zeitlin
223867913b add timing of synchronous execution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 15:41:37 +00:00
Vadim Zeitlin
69328170cc no real changes, just added a default value for the command used by exec with redirect to avoid having to type it every time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 15:37:04 +00:00
Vadim Zeitlin
1282ddbb4d don't show more than 20 lines of redirected IO, just 10 first and last ones is enough to check that the code works correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:49:45 +00:00
Vadim Zeitlin
ea58aac580 correct the REDIRECT_COMMAND definition for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 04:08:03 +00:00
Vadim Zeitlin
42c46d5283 kill the process launched by wxExecute(ASYNC) to avoid leaving unneeded processes running
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:55:03 +00:00
Vadim Zeitlin
331abcf7d7 uncomment wxExecute(ASYNC) test now that it's supposed to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:48:29 +00:00
Vadim Zeitlin
8cd6a9ad50 added wxSpinCtrlDouble (slightly modified patch 1835864)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 14:04:19 +00:00
Vadim Zeitlin
6ef2b23056 added test of focusing/selecting another item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:04:51 +00:00
Vadim Zeitlin
b1859b1a1b added support for double arguments to wxCmdLineParser (patch 1907289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:33:25 +00:00
Vadim Zeitlin
92c01615ec remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit]() ones (patch 1905759)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:08:02 +00:00
Václav Slavík
fe828a03f4 reverted Julian's r44600, it broke help window behavior so that it prevented apps from closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:58:32 +00:00
Vadim Zeitlin
647d7ce90b use %p for printing out a pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 17:11:37 +00:00
Václav Slavík
53aa9c77b0 test Freeze/Thaw completely, including clearing and setting insertion point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 10:04:25 +00:00
Vadim Zeitlin
211df0565b add test for setting toolbar background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 23:27:20 +00:00
Vadim Zeitlin
4c865f6df3 reverted the last 2 changes to this file, the border stuff has nothing to do with toolbar sample and is really confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 23:21:36 +00:00
Vadim Zeitlin
8ce68f7fc0 add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:33:47 +00:00
Vadim Zeitlin
027fe16c35 add platform info for Palm (add-wxpalm-info.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:02:07 +00:00
Vadim Zeitlin
a3c3a4cde5 add menu item to jump to DST start date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:12:07 +00:00
Julian Smart
3214ac5ad1 Open and Close clipboard properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 18:44:43 +00:00
Vadim Zeitlin
522a028a17 use const char*, not char*, for string literals to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 22:53:30 +00:00
Vadim Zeitlin
8e9ca79b3c add forgotten file needed by the last change to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 22:46:58 +00:00
Julian Smart
99404ab05f Fixed several style, paste and undo bugs
Added a reload function to the sample for quickly restoring original text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 17:05:54 +00:00
Vadim Zeitlin
e630cd0454 use #ifdef __WXMAC__, not #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 22:30:58 +00:00
Vadim Zeitlin
0d29a4828e implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
521d34369b log Unicode data correctly, extract the logging code in MyConnectionBase class instead of quadriplicating it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 23:43:39 +00:00
Vadim Zeitlin
451c13c85c update the samples to use new (non-deprecated) wxGLCanvas API; added more comments; some cleanup (modified patch 1882679)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 13:26:01 +00:00
Vadim Zeitlin
6214812cad fix signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 22:52:50 +00:00
Václav Slavík
b721db1057 disable console targets for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 11:04:50 +00:00
Vadim Zeitlin
ebe887ed03 added console IPC sample (part of patch 1833150)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 00:16:33 +00:00
Vadim Zeitlin
3f20f7d8a3 added wxGLCanvas::IsDisplaySupported() (patch 1879906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:55:05 +00:00
Vadim Zeitlin
561d687c49 don't reference non-existent doc.xmb file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:42:28 +00:00
Václav Slavík
c3c11581dc added VC7/8 project files for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 11:38:07 +00:00
Vadim Zeitlin
da603a6786 fix the code to not use dangling pointers resulting in asserts about invalid Unicode strings mentioned in the bug 1880411
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 22:20:45 +00:00
Václav Slavík
6e0fbb3dbf regenerated makefiles with bkl-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 12:13:07 +00:00