Small Motif bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,4 +52,12 @@ More recently:
|
|||||||
- Added time.cpp to makefile; set wxUSE_DATETIME to 1.
|
- Added time.cpp to makefile; set wxUSE_DATETIME to 1.
|
||||||
- Added a parent-existance check to popup menu code to make it not crash.
|
- Added a parent-existance check to popup menu code to make it not crash.
|
||||||
- Added some optimization in wxWindow::SetSize to produce less flicker.
|
- Added some optimization in wxWindow::SetSize to produce less flicker.
|
||||||
It remains to be seen whether this produces any resize bugs.
|
It remains to be seen whether this produces any resize bugs.
|
||||||
|
|
||||||
|
3/12/98
|
||||||
|
-------
|
||||||
|
|
||||||
|
- Debugged DrawEllipticArc (a ! in the wrong place).
|
||||||
|
- Added SetClippingRegion( const wxRegion& region ).
|
||||||
|
- Added wxPoint, wxSize, wxRect versions of SetSize etc.
|
||||||
|
- Diagnosed but not yet cured a wxTreeCtrl bug (see todo.txt).
|
@@ -42,6 +42,9 @@ High Priority
|
|||||||
- Tidy dialogs such as the colour and font selectors.
|
- Tidy dialogs such as the colour and font selectors.
|
||||||
|
|
||||||
- Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
|
- Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
|
||||||
|
wxTreeCtrl: crashes in wxImageList::Draw because it assumes
|
||||||
|
that wxBitmap == wxIcon, which is only true in wxGTK.
|
||||||
|
So add wxDC::DrawBitmap and use this instead.
|
||||||
|
|
||||||
- Find out why modal dialogs give a grab warning.
|
- Find out why modal dialogs give a grab warning.
|
||||||
|
|
||||||
|
@@ -103,7 +103,7 @@ public:
|
|||||||
bool Combine(const wxRect& rect, wxRegionOp op);
|
bool Combine(const wxRect& rect, wxRegionOp op);
|
||||||
|
|
||||||
// Get the internal Region handle
|
// Get the internal Region handle
|
||||||
WXRegion GetXRegion() ;
|
WXRegion GetXRegion() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class WXDLLEXPORT wxRegionIterator : public wxObject {
|
class WXDLLEXPORT wxRegionIterator : public wxObject {
|
||||||
|
@@ -354,7 +354,7 @@ void wxWindowDC::DrawEllipticArc( long x, long y, long width, long height, doubl
|
|||||||
XLOG2DEV_2 (x), YLOG2DEV_2 (y),wd,hd,start,end);
|
XLOG2DEV_2 (x), YLOG2DEV_2 (y),wd,hd,start,end);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_pen.Ok() && m_pen.GetStyle () != wxTRANSPARENT)
|
if (m_pen.Ok() && m_pen.GetStyle () != wxTRANSPARENT)
|
||||||
{
|
{
|
||||||
if (m_autoSetting)
|
if (m_autoSetting)
|
||||||
SetPen (m_pen);
|
SetPen (m_pen);
|
||||||
|
@@ -105,7 +105,7 @@ wxRegion::~wxRegion()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get the internal region handle
|
// Get the internal region handle
|
||||||
WXRegion wxRegion::GetXRegion()
|
WXRegion wxRegion::GetXRegion() const
|
||||||
{
|
{
|
||||||
wxASSERT( m_refData !=NULL );
|
wxASSERT( m_refData !=NULL );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user