Commit Graph

7244 Commits

Author SHA1 Message Date
Vadim Zeitlin
9f14a81890 fixed size of the log dialog details drop down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 19:15:35 +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
Vadim Zeitlin
a407ff6ae8 added GAUGE standard colour and use it in DrawProgressBar() if the colour
hadn't bee nset explicitly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 16:34:22 +00:00
Vadim Zeitlin
e269a9be19 minor fix to the constraints of the cancel button to improve its sizing under wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 16:33:05 +00:00
Vadim Zeitlin
86171954ec don't skip first/last node when pressing down/up arrow after opening the menu with the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 15:40:34 +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
David Webster
45e0dc9477 OS/2 scrolling support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 04:19:14 +00:00
Vadim Zeitlin
cafbad8f17 total wxBrush cleanup: made private stuff private, fixed data (un)sharing, create HBRUSH on demand only, added asserts/checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:35:30 +00:00
Vadim Zeitlin
b802788865 changed CloneRefData() to take a const pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:34:18 +00:00
Vadim Zeitlin
f797e53d03 ScrollWindow() should use the rect it scrolls as the clipping rect as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:32:55 +00:00
Václav Slavík
97ddad38c5 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 23:54:37 +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
025763083a oops, Clone/CreateRefData() were not overridden in wxRegion as intended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 12:31:32 +00:00
Vadim Zeitlin
d18700787f added asserts to Clone/CreateRefData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 12:30:40 +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
Václav Slavík
4d876ee3f7 wxXRC cleanup: removed .xmlbin format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:17:38 +00:00
Václav Slavík
32a0d013e9 changed wxFileName::Normalize signature to allow or-combination of flags and reverted Julian's hack-fix to wxTextFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:14:45 +00:00
Vadim Zeitlin
1e2081a1b9 1. fixed bug in wxDC::SetMapMode() which broke the scrolling
2. some cleanups in wxDC code
3. SetAxisOrientation() still doesn't work...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 16:08:14 +00:00
Gilles Depeyrot
0d4d0e8d76 correction for compilation with ProjectBuilder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 13:34:09 +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
Vadim Zeitlin
5230934a95 wxDC::SetClippingRegion() in wxMSW works like in wxGTK, i.e. combines the given region with the old one (also documented this behaviour as the correct one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:40:45 +00:00
Václav Slavík
b7d5acd0fa wxRootWindow::AcceptsFocus must be const; added wxRTTI for wxRootWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 20:22:38 +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
Vadim Zeitlin
9b0f84db4a removed GetString(), it doesn't belong here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 19:30:01 +00:00
Julian Smart
38fc0d9db9 Added missing '!' to HasCapture() in window.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 17:34:48 +00:00
David Webster
e90bc5bffe Makefile and mod def updates. Compile bug in Choice fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:50:29 +00:00
Vadim Zeitlin
60ce696e26 made wxCondition::Signal() queue the signals generated while there were no waiters and documented this behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:43:37 +00:00
Vadim Zeitlin
376e1129f7 various minor fixes to wxHashMap: compilation warnings suppressed, use calloc() instead of new[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 14:58:55 +00:00
David Webster
e05c8fa7bb Got rid of the bad EOLs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 14:11:34 +00:00
David Webster
582381212e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 03:28:28 +00:00
Robin Dunn
4683727281 added wx type info macros for wxFSFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 02:08:19 +00:00
Julian Smart
ea45082521 Applied hash copy fix, BC++ makefile fix (though not the lib setup.h one we need to do).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 23:13:06 +00:00
David Webster
b3260bce47 Lots of fixes for scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 22:48:09 +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
Julian Smart
9fce8d2eee Applied wxPoem, wxSystemSettings, sizing, install doc patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:58:34 +00:00
Vadim Zeitlin
73b26a1c3b don't return HTCLIENT for radiobox - this breaks redrawing under Windows XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:48:25 +00:00
Julian Smart
6e8515a3e3 Regenerated FL docs; applied patch [ #511363 ] Dialogs no longer need wx.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 20:57:31 +00:00
Vadim Zeitlin
807d848702 added wxObject::AllocExclusive() and associated methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:01:09 +00:00
Vadim Zeitlin
0fb067bbe6 implemented wxRegion::Offset() for MSW and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:00:13 +00:00
Julian Smart
aa21a09f91 Corrected Normalize invocation by casting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 12:29:54 +00:00
Julian Smart
baed107708 Removed wxPATH_NORM_CASE from Normalize or files won't be written
back as the same filename.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 12:25:50 +00:00
Vadim Zeitlin
8d5eff606a attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currently they do but something else doesn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:11:54 +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
Vadim Zeitlin
a2717c3d0c ignore the icon option in Netscape mime.type file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 16:38:30 +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