Commit Graph

5222 Commits

Author SHA1 Message Date
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
cfe17b7435 Fixed wxWindowCreateEvent and wxWindowDestroyEvent to set m_eventType
so the events can actually be caught by a handler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:07:53 +00:00
Robert Roebling
15807266c6 IsExposed() corrections in calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 21:03:36 +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
Vadim Zeitlin
0148fe1e2a wxMotif::wxControl() ctor added, now wxCalendarCtrl compiles ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:34:38 +00:00
Vadim Zeitlin
9d9b77552e 1. wxCalendarCtrl
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Robert Roebling
924ef85080 GUI thread update and event corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 17:16:55 +00:00
Julian Smart
e12be2f7fb Tidied some doc references; added Stefan's Blit optimisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 14:21:38 +00:00
Robert Roebling
29b5bcd515 Doc correction for wxScrollWinEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 12:52:22 +00:00
Robert Roebling
23efdd028e Added wxWindow::DoMoveWindow(..)
Changed dnd and clipboard overviews.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:52:51 +00:00
Vadim Zeitlin
c76dd5a121 define __GNUWIN32_OLD__ for cygwin32 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:46:45 +00:00
Vadim Zeitlin
75c74ca055 1. added test for wxTreeCtrl::Insert(size_t index)
2. temporary test code for wxCalendarCtrl in controls.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:29:26 +00:00
Vadim Zeitlin
2ef31e80ee 1. some minor compilation fixes in datetime.cppm
2. implemented wxTreeCtrl::Insert(size_t index)
3. draft of wxCalendarCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:28:20 +00:00
Robert Roebling
f59d80ca00 Small doc updates, mainly wxDropTarget,
wxFileDlg now interprets a default dir of "." as
    the current working dir,
  dialog and frame honour "wxApp::DeleteFrameOnExit".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 09:48:10 +00:00
Vadim Zeitlin
487c1f7ef2 BC++ compialtion fix (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 22:24:44 +00:00
Robin Dunn
5e095c55f9 Fixed so user code (or wxPython) can include gtk/glib/X headers if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 21:32:48 +00:00
Robin Dunn
ffef2bdec9 Added some WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 21:10:49 +00:00
Julian Smart
cff4a45c15 Watford C++ related changes. Unfortunately, the linker now gives a GPF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 20:25:09 +00:00
Julian Smart
84e5f5395d Some BC++ issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 15:21:06 +00:00
Julian Smart
1a3aa77fc7 Removed references to separate prop and porting docs. Added imagtiff.cpp
to VC++ project files. Added tiff library to makeproj.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:57:57 +00:00
Julian Smart
52ca3f113e Added VC++ project files for TIFF library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:56:05 +00:00
Robert Roebling
f2593d0dda Calling a Refresh() before the window is created no longer
gives an assert. Nothing will happen.
  Added wxTreeCtrl::InsertItem( paret, before, ... ),
  Correct some places with incorrectly indented code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:08:04 +00:00
Julian Smart
9b6b575004 Added Bil Simser to wxBook page; fixed bug in notebook when deleting pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:45:48 +00:00
Guillermo Rodriguez Garcia
3f399a69cc Added GetSubBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:28:39 +00:00
Robert Roebling
7468b994be Minor doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 14:27:05 +00:00
Robert Roebling
be25e48093 Added mono bitmap to image conversion.
Added wxImage::Replace() (replaces one colour with another).
  Toolbar tips no longer eats ana new colour. This might prevent
    the wrong colour behaviour reported from some 8-bit visuals.
  Minor fixes and test code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 13:01:07 +00:00
Vadim Zeitlin
41acf5c0bd 1. wxLongLongWx::Assign(double) added (half implemented)
2. small wxDateTime bug fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 11:26:59 +00:00
Vadim Zeitlin
d5fc46616d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 10:55:14 +00:00
Vadim Zeitlin
406005d21b more unused param warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:54:12 +00:00
Vadim Zeitlin
9c2882d9e1 1. misc compilation (errors, warnings) fixes (from the build logs)
2. fixed a bug in wxGTK::wxGetResource


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:52:50 +00:00
Vadim Zeitlin
6957717a00 disable #warning because it's an error for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 22:16:54 +00:00
Vadim Zeitlin
ddb56b384d C++ comments in C files are fun but break the compilation (for the Nth time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 22:16:28 +00:00
Václav Slavík
c91108763b fixes of documentation - replaced \tt{...}, \em{...}, \bf{...} by {\tt ...} etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:34:56 +00:00
Václav Slavík
200fed6cdf moved proplist documentation to main book
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:30:32 +00:00
Václav Slavík
5eae411929 moved 1.6X -> 2.X porting manual to main book
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:26:26 +00:00
Václav Slavík
6fb0a92e2c font size fix for <PRE>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 18:11:06 +00:00
Guilhem Lavaux
e336790467 Sound recording works on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 17:38:46 +00:00
Robert Roebling
f9ee644eac Wrote wxMask(bitmap,colour).
Some docs for it and wxBitmap::GetSubBitmap().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 11:25:53 +00:00
Václav Slavík
605d715ddd many fixes in documentation so that it compiles with LaTeX - get rid of \end{document} troubles, \it{} -> {\it} and few more syntax fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:40:13 +00:00
Václav Slavík
9a66115de3 removed date.cpp and time.cpp from filelist.txt (was only commented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:28:31 +00:00
Václav Slavík
bb65ef80fe fixed bug in wxString::DoCopy - it called Sort on already sorted array (thanks to Add behaviour)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:28:05 +00:00
Václav Slavík
599a97e9ab removed wxHtmlParser::GetTempData (internal function, obsoleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:46 +00:00
Václav Slavík
6ed4970d21 added demo of <font face>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:32 +00:00
Václav Slavík
f1ad10f373 added <font face> support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:20 +00:00
Robin Dunn
194fa2aca0 Some little compilation fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 18:45:22 +00:00
Robin Dunn
d2103cf2e2 Removed all non wx stuff from the glcanvas module since DA's PyOpenGL
is better and compatible with the wxGLCanvas.  You can get it at
http://starship.python.net:9673/crew/da/Code/PyOpenGL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 18:44:29 +00:00
Vadim Zeitlin
5e6a0e8315 implemented wxLongLong division - seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 16:49:57 +00:00
Julian Smart
9434fb903d Added default constructor to wxGLCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 12:28:20 +00:00
Julian Smart
f3314fbcb4 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 08:16:31 +00:00
Robin Dunn
9c00cfa3e5 Wrapper updates for wxHtmlLinkInfo and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 03:28:55 +00:00