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:
Julian Smart
1998-12-03 09:51:18 +00:00
parent b26c0958c0
commit 45d49251ba
5 changed files with 15 additions and 4 deletions

View File

@@ -53,3 +53,11 @@ More recently:
- Added a parent-existance check to popup menu code to make it not crash.
- Added some optimization in wxWindow::SetSize to produce less flicker.
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).

View File

@@ -42,6 +42,9 @@ High Priority
- Tidy dialogs such as the colour and font selectors.
- 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.

View File

@@ -103,7 +103,7 @@ public:
bool Combine(const wxRect& rect, wxRegionOp op);
// Get the internal Region handle
WXRegion GetXRegion() ;
WXRegion GetXRegion() const;
};
class WXDLLEXPORT wxRegionIterator : public wxObject {

View File

@@ -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);
}
if (!m_pen.Ok() && m_pen.GetStyle () != wxTRANSPARENT)
if (m_pen.Ok() && m_pen.GetStyle () != wxTRANSPARENT)
{
if (m_autoSetting)
SetPen (m_pen);

View File

@@ -105,7 +105,7 @@ wxRegion::~wxRegion()
}
// Get the internal region handle
WXRegion wxRegion::GetXRegion()
WXRegion wxRegion::GetXRegion() const
{
wxASSERT( m_refData !=NULL );