Vadim Zeitlin
9e691f46b2
changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
...
sample crashes on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 19:24:30 +00:00
Vadim Zeitlin
a070d8ce24
added support for non alphanumeric simple character accelerators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 12:23:11 +00:00
Václav Slavík
bd3b7e098d
removed implicit dependency on wxPNGHandler from wxGTK's wxBitmapDataObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-03 23:25:28 +00:00
Robert Roebling
afbe906abd
Some work on GTK focus handling and events.
...
Removed some code #ifdeffed for GTK from
wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:59:46 +00:00
Vadim Zeitlin
dbb846c622
fix for a nasty bug with colouor copying
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:48:19 +00:00
Vadim Zeitlin
73deed44e6
1. made wxDebugMsg, wxError and wxFatalError deprecated (still available
...
with WXWIN_COMPATIBILITY_2_2)
2. moved wxInternalErrorStr and wxFatalErrorStr to a common file
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: include/wx/app.h include/wx/chkconf.h include/wx/utils.h
CVS: src/common/appcmn.cpp src/common/fontmap.cpp
CVS: src/common/utilscmn.cpp src/gtk/data.cpp src/mac/data.cpp
CVS: src/mac/utils.cpp src/msw/data.cpp src/msw/utils.cpp
CVS: src/os2/DATA.CPP src/os2/UTILS.CPP src/unix/utilsunx.cpp
CVS: ----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:18:36 +00:00
Robert Roebling
2e09dc2dc8
Always send an erase event to satisfy some users...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 21:50:17 +00:00
Vadim Zeitlin
a66954a673
fix setting the font for a single-line text control (bug 508169)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 14:38:22 +00:00
Robert Roebling
2b328fc942
Added test for default action (button normally)
...
to combo box when hittinh return. In a normal
Find&Replace dialog, hitting enter in one of
the two fields will usually mean "OK".
Corrected the same test in wxTextCtrl.
Removed some debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 21:48:03 +00:00
Robert Roebling
887dd52f06
Added more wxRegion tests to erase sample.
...
Implemented "clear now, paint later".
Corrected colour-by-name lookup.
Corrected DrawRectangle code which produced
redraw garbage under wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:13:23 +00:00
Vadim Zeitlin
0b06ac1f24
compilation fixes after the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:53:41 +00:00
Robert Roebling
7e4501ee3c
wxX11:
...
Corrected TLW positiong.
Added experimental code for synthesizing focus events.
Minor clean-ups.
Added for-now unused code for default/focus widget.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 21:09:04 +00:00
Vadim Zeitlin
2da6105611
added SetString(), deprecated SetLabel()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 19:14:54 +00:00
Václav Slavík
a0cb0ba509
move wxMGL's wxTimer to src/generic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:55:41 +00:00
Julian Smart
45ff6421e6
Removed wxBuffer from several ports; added function to get XEvent name;
...
started on commandline parsing for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:07:26 +00:00
Robert Roebling
0d1dff0172
wxX11:
...
INtroduced OnInternalIdle as per wxGTK so that users
cannot as easily lill the internals.
Fixed pop-up transient window.
Removed some #if 0 here and there.
Made refresh code work in idle instead of directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:43:18 +00:00
Robert Roebling
a11672a469
wxX11:
...
Lots of wxBitmap et al work.
Adapted wxIcon, wxCursor to this.
Split wxApp init things up so that the
X11 display is available sooner.
Changed initial display code accordingly.
Corrected wxDC::DrawBitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 08:38:54 +00:00
Robert Roebling
3cd0b8c5b5
wxX11:
...
Updated wxColour for handling Colormaps and ref couting.
Updated wxClientDC et al. for conforming to wxGTK. Many
tricky parts, particularly the bitmap drawing and
blitting is still missing.
Any sample crashes now for some reason with an X error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 20:41:24 +00:00
Václav Slavík
e7dda1ffa3
respect minimal wxTLW size in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Robert Roebling
47dddc2f4b
Commiting remaining files of configure change for X11.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:17:41 +00:00
Robert Roebling
8f3e7ecc5d
More refreshes are deferred to idle time.
...
Corrected redraw areas of native widgets
if underlying wxWindows have been exposed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 23:43:35 +00:00
Václav Slavík
952ae1e88b
changed wxImage::ComputeHistogram to use wxHashMap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:11:39 +00:00
Jouk Jansen
df744f4d6d
Committing in .
...
Various patches to get the current CVS compile on OpenVMS
Modified Files:
wxWindows/setup.h_vms wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/app.cpp wxWindows/src/unix/threadpsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:41:48 +00:00
Vadim Zeitlin
7dbf536065
typo in IMPLEMENT_DYNAMIC_CLASS fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 14:10:36 +00:00
Vadim Zeitlin
621b3e2127
IMPLEMENT_DYNAMIC_CLASS fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 01:42:02 +00:00
Vadim Zeitlin
fa8a793a6f
fixed crash when return is pressed in a spinctrl inside a parent which is not a GtkWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 19:37:02 +00:00
Robert Roebling
c89f5c02b1
Added missing test in wxObject::Ref() for already
...
equal objects (same m_refData).
Implemented new ref counting for wxBrush, wxPen
and wxColour (in addition to wxRegion). Also
inlined some more functions and implemented
real comparisons.
Corrected refresh code to update GTK's window-less
widgets if overdrawn after a wxWindow::Refresh().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 18:01:21 +00:00
Robert Roebling
3bcc8d1581
Now updating and clearing are done in a delayed fashion.
...
The m_updateRegion gets updated and the (often much
smaller) m_clearRegion gets cleared. This removes the
flicker introduced by having delayed updates and
immediate clearings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 14:05:28 +00:00
Robert Roebling
3133cb9f53
Applied thread wakeup patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:38:11 +00:00
Robert Roebling
48850fa74d
Big wxRegion clean up.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:04:23 +00:00
Robert Roebling
e0f0b19775
Ref counting fixes and compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 10:42:16 +00:00
Vadim Zeitlin
6829b0e0f7
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 13:15:47 +00:00
Vadim Zeitlin
9fe4c99cc5
fixed wxRegion::Offset() to not modify the shared regions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 11:49:31 +00:00
Robin Dunn
9e78f901dc
Shouldn't call SetFont(wxNullFont) any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 01:09:47 +00:00
Václav Slavík
ca50a0771a
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 20:22:17 +00:00
Julian Smart
7eff657c07
Applied wxImage -> wxCursor patch, tool window event table fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 22:11:06 +00:00
Robert Roebling
35917d228a
Added wxRegion::Offset(x,y)
...
Go to plan B: wxWindow::Scroll() now moved the
m_updateRegion for later processing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 17:25:18 +00:00
Robert Roebling
f47ae6e7e9
Added various calls to wxWindow::Update() to
...
wxScrolledWindow. This is ONE solution to
the redraw problem of the new delayed refresh
code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 16:01:34 +00:00
Robert Roebling
23716407e1
New Refresh()/Update() behaviour. As expected, scrolling
...
messes up the display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 15:26:49 +00:00
Robert Roebling
beab25bde3
Some changes for new Update/Refresh behaviour. This
...
commit actually doesn't change anything. I just cleared
some code and added the new interface. I want this to
be seperate from the commit (if any) that introduces the
new behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 13:23:10 +00:00
Mattia Barbon
d74b838cf3
Updated projects/makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:37:43 +00:00
Robert Roebling
06201c35d7
wxDC::Blit(): the source coordinates are logical coordinates
...
of the source DC now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 17:58:36 +00:00
Vadim Zeitlin
a664d17e06
removed non existing unzip.h from the filelist.txt and regenerated everything
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:45:49 +00:00
Robert Roebling
5375a1f5e8
Change idle behvaiour with regard to wxIdleEvent::RequestMore().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:17:39 +00:00
Vadim Zeitlin
221ed5767f
warning fixes in GetColor() for the newly added values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:09:49 +00:00
Robert Roebling
2c990ec083
wxMiniFrame works again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:54:13 +00:00
Václav Slavík
c44fdc9401
added dummy <style> handler in order to hide CSS code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:13:38 +00:00
Vadim Zeitlin
17d61cbfb4
added (dummy) implementation of GetMetric(wxSYS_CURSOR_[XY])
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 15:39:13 +00:00
Václav Slavík
c43430bbac
make sure gs_captureWindow is always set to NULL in DoReleaseMouse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 11:28:07 +00:00
Vadim Zeitlin
94633ad9f1
maintaint the mouse capture stack in all ports, not just wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:31:19 +00:00