Commit Graph

44 Commits

Author SHA1 Message Date
Robin Dunn
dcd386834a Added wrapper for wxListCtrl.SortItems. Added column sorting to the
demo to show how to use it.

Other fixes and updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 04:05:41 +00:00
Ron Lee
879345103c removed redundant #! line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 20:33:10 +00:00
Robin Dunn
c4c829aeab toggle button doesn't send event if mouse is released outside of the
button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 21:21:04 +00:00
Robin Dunn
99ab9f3bf9 More fixes for the OGL wrapper and some other updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 04:52:42 +00:00
Robin Dunn
854862f58d Some updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 06:01:58 +00:00
Robin Dunn
eec92d76f8 Some minor updates, fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:07:04 +00:00
Robin Dunn
8211bdcc03 After bashing my head on the desk for being so stupid I fixed the
wxFloatBar for wxGTK the extremly EASY way...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 22:09:38 +00:00
Robin Dunn
8e425133fb Various odds and ends, minor fixes, and cleanups...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 06:58:56 +00:00
Robin Dunn
b7e7242718 wxFloatbar fixes
other odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 04:58:23 +00:00
Robin Dunn
f2a497dcf9 Made wxEditor constructor args consistent with other window classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:30:51 +00:00
Robin Dunn
f0b0b7d4b8 Fixes to avoid an endless event looping for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:26:21 +00:00
Robin Dunn
d59efe01ea Fix for differences of when the ECT_WINDOW_CREATE happens between
wxMSW and wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 09:34:52 +00:00
Robin Dunn
1b55cabf50 Added wxEditor from Dirc Holtwic
Some tweaks and fixes
Some distrib updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 08:29:02 +00:00
Robin Dunn
54b9688254 Enabling the use of masks for wxGTK in some of the demos
wxWindow.GetHandle returns the X-Window instead of the GtkWidget
pointer so the X-Window can be given to other Python modules such as
VTK.

wxPython.lib.vtk updated to get the window handle at widget creation
instead of in the constructor.

other updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:10:32 +00:00
Robin Dunn
3af4e610b1 Added some missing EVT_ functions
Fixes to wxPython.lib.wxCalendar for new toolbar and region code
other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 20:07:27 +00:00
Robin Dunn
9b3d3bc44b New toolbar wrappers
wxMask demos
GenericButton now derives from wxControl
Lots of small changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:05:08 +00:00
Robin Dunn
78385733e7 Some GenButton enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 06:38:17 +00:00
Robin Dunn
fbff5d1ba5 One more quickie
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 08:09:25 +00:00
Robin Dunn
6999b0d8e9 Added rotated text support
Added Some generic button and toggle button classes
Lots of little fixes, additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 07:59:23 +00:00
Robin Dunn
a6ad3e89c6 Various small fixes and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 18:23:57 +00:00
Robin Dunn
694759cfeb Bug fixes, new tests and demos, new generated source...
Added FileBrowseButton class to the library


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:08:14 +00:00
Robin Dunn
84e4a8257d Splashscreen works better on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 19:30:12 +00:00
Robin Dunn
5bfb891ef8 Fixed so the tree looks proper on GTK and also reduced flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 17:33:22 +00:00
Robin Dunn
9fb56e0cbc Added SplashScreen class from Mike Fletcher and use it in the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:15:12 +00:00
Robin Dunn
e395c057a3 updated wxMVCTree, VTK, and the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 05:34:40 +00:00
Robin Dunn
7b9da2077d VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 07:17:57 +00:00
Robin Dunn
e19b716460 Added a demo showing how to use wxPostEvent
Added an MVCTree contribution
Some final tweaks for this release


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 05:52:53 +00:00
Robin Dunn
8c58829804 more floatbar tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 06:23:28 +00:00
Robin Dunn
e0473f5f5a Tweaking some of the new wxPython stuff for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 22:47:12 +00:00
Robin Dunn
944930d5f5 Added calendar contributed by Lorne White
Some tweaks for wxFloatbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 08:03:29 +00:00
Robin Dunn
be2577e4e6 wxSizer patches by Alexander Smishlajev <als@turnhere.com>
Adds some wxALIGN_* flags to increase ability to position item
    within its allotted space.

    Adds wxSHAPED flag that enforces proportional resizing on growable
    items.

    Adds a sample and updated documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 23:02:41 +00:00
Robert Roebling
11e1c70d8e Small distrib changes,
Use GTK's native insert for wxListBox,
  Compile pacthes for AIX,
  wxClipboard things,
  Ignore wxSIZE_AUTO flags in wxDialog and wxFrame,
  Ignore toolbar size in wxFrame::Get/SetClientSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:45:01 +00:00
Robert Roebling
3017f78d67 Minor Reparent() and SetToolBar() fix for wxFrame.
Corrected size reported by wxToolBar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 15:30:42 +00:00
Robin Dunn
06c0fba410 minor additions and bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:24:16 +00:00
Robin Dunn
6147ee3451 new contributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:48:14 +00:00
Robin Dunn
f0261a7246 added font encoding support
some more demos
some contributed items into the library
many little tweaks and such


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 06:22:25 +00:00
Robin Dunn
2f90df854e 1. wxHtmlHelpController and related classes
2. the C++ versions of wxSizer and firends, Python versions are
   'depreciated'
3. wxPyEvent and wxPyCommandEvent, event classes that can carry some
   python objects through the event system and safely come back out
   again.
4. wxGridSizer and wxFlexGridSizer
5. wxValidator
6. wxPyOnDemandOutputWindow
7. several tweaks, fixes and additions of missing methods, etc.
8. and probably several other things I am forgetting since CVS was
   down so long...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 07:11:20 +00:00
Robin Dunn
2d0294308d uncommented a try...except that I had removed for testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 15:43:05 +00:00
Robin Dunn
e166644c53 New wxHtml stuff, including a TagHandler for placing wxPython widgets
on the html page.

Some other tweaks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 05:55:00 +00:00
Robin Dunn
8bf5d46efb wxPython 2.1b1:
Added the missing wxWindow.GetUpdateRegion() method.

	Made a new change in SWIG (update your patches everybody) that
	provides a fix for global shadow objects that get an exception in
	their __del__ when their extension module has already been deleted.
	It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
	line 496 if you want to do it by hand.

	It is now possible to run through MainLoop more than once in any one
	process.  The cleanup that used to happen as MainLoop completed (and
	prevented it from running again) has been delayed until the wxc module
	is being unloaded by Python.

	wxWindow.PopupMenu() now takes a wxPoint instead of  x,y.  Added
	wxWindow.PopupMenuXY to be consistent with some other methods.

	Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.

	You can now provide your own app.MainLoop method.  See
	wxPython/demo/demoMainLoop.py for an example and some explaination.

	Got the in-place-edit for the wxTreeCtrl fixed and added some demo
	code to show how to use it.

	Put the wxIcon constructor back in for GTK as it now has one that
	matches MSW's.

	Added wxGrid.GetCells

	Added wxSystemSettings static methods as functions with names like
	wxSystemSettings_GetSystemColour.

	Removed wxPyMenu since using menu callbacks have been depreciated in
	wxWindows.  Use wxMenu and events instead.

	Added alternate wxBitmap constructor (for MSW only) as
	      wxBitmapFromData(data, type, width, height, depth = 1)

	Added a helper function named wxPyTypeCast that can convert shadow
	objects of one type into shadow objects of another type.  (Like doing
	a down-cast.)  See the implementation in wx.py for some docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-31 07:56:15 +00:00
Robin Dunn
34e5bea573 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-22 16:08:43 +00:00
Robin Dunn
bb0054cda8 wxPython 2.1b1 for wxMSW (wxGTK coming soon)
Lots of changes, see the README.txt for details...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-22 07:03:29 +00:00
Robin Dunn
ab9bc19bd1 wxPython 2.0b9, second phase (gtk)
Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-01 04:41:52 +00:00
Robin Dunn
cf694132f1 wxPython 2.0b9, first phase (win32)
Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 03:29:54 +00:00