// Purpose: Implement wxCtrlMaskOut class
// Author: Utensil Candel (UtensilCandel@@gmail.com)
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
if (!wxDirExists(default_dir))
wxMkdir(default_dir);
- wxFileName fullFileName(default_dir, fileName + ".png");
+ wxFileName fullFileName(default_dir, "appear-" + fileName +
+ "-" + wxPlatformInfo::Get().GetPortIdShortName() + ".png");
// do not overwrite already existing files with this name
while (fullFileName.FileExists())
wxRect AutoCaptureMechanism::GetRect(wxWindow* ctrl, int flag)
{
- if( !(m_flag & AJ_DisableRegionAdjust) && (flag & AJ_RegionAdjust)
+ if( (!(m_flag & AJ_DisableRegionAdjust) && (flag & AJ_RegionAdjust))
|| (m_flag & AJ_AlwaysRegionAdjust) )
{
wxWindow * parent = ctrl->GetParent();