Patch level : 10.0

Files correlati     : xvaga.dll
Ricompilazione Demo : [ ]
Commento            :
Corretto errore 0000936: Videata dettaglio griglie
La videata di dettaglio che esce con il doppio click sulle righe non ha i bordi. Esempio vedere righe contratti


git-svn-id: svn://10.65.10.50/trunk@17456 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-10-22 15:27:16 +00:00
parent f5a78cf8e2
commit c2474d598d
2 changed files with 3 additions and 7 deletions

View File

@ -4326,10 +4326,9 @@ WINDOW xvt_win_create(WIN_TYPE wtype, const RCT* rct_p, const char* title, int m
switch (wtype)
{
case W_DOC:
if (!caption.IsEmpty())
style |= wxSYSTEM_MENU;
style |= wxSYSTEM_MENU; // Questo flag in realta' viene interpretato come wxCAPTION
if (win_flags & WSF_CLOSE)
style |= wxSYSTEM_MENU | wxCLOSE_BOX;
style |= wxCLOSE_BOX;
break;
case W_PLAIN:
// style |= wxBORDER; // Non attivare MAI il bordo!

View File

@ -305,10 +305,7 @@ void TwxPDFDC::DoDrawArc (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCoor
if (m_brush.GetStyle() != wxTRANSPARENT)
SetBrush(m_brush);
wxCoord dx = x1 - xc;
wxCoord dy = y1 - yc;
wxCoord radius = (wxCoord) sqrt( (double)(dx*dx+dy*dy) );
const wxCoord radius = (wxCoord)_hypot(x1 - xc, y1 - yc) / 2;
double alpha1, alpha2;
if (x1 == x2 && y1 == y2)