Aggiunta forzatura di finestre di dialogo in primo piano
git-svn-id: svn://10.65.10.50/branches/R_10_00@22857 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									7dbfb5ffc9
								
							
						
					
					
						commit
						f2dfd50a0b
					
				| @ -3788,6 +3788,11 @@ int xvt_fsys_access(const char *pathname, int mode) | |||||||
|   return wxAccess(pathname, mode) == -1 ? errno : 0; |   return wxAccess(pathname, mode) == -1 ? errno : 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | BOOLEAN xvt_fsys_dir_exists(const char *pathname) | ||||||
|  | { | ||||||
|  |   return wxDirExists(pathname); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| BOOLEAN xvt_fsys_file_exists(const char *pathname) | BOOLEAN xvt_fsys_file_exists(const char *pathname) | ||||||
| { | { | ||||||
|   return xvt_fsys_access(pathname, 0) == 0; |   return xvt_fsys_access(pathname, 0) == 0; | ||||||
| @ -3795,7 +3800,7 @@ BOOLEAN xvt_fsys_file_exists(const char *pathname) | |||||||
| 
 | 
 | ||||||
| BOOLEAN xvt_fsys_mkdir(const char *pathname) | BOOLEAN xvt_fsys_mkdir(const char *pathname) | ||||||
| { | { | ||||||
|   // Crea l'intero albero di cartelle senza dare erroire se esistono gia'
 |   // Crea l'intero albero di cartelle senza dare errori se esistono gia'
 | ||||||
|   return wxFileName::Mkdir(pathname, 0777, wxPATH_MKDIR_FULL); |   return wxFileName::Mkdir(pathname, 0777, wxPATH_MKDIR_FULL); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -205,6 +205,7 @@ XVTDLL BOOLEAN        xvt_fsys_removefile(const char *pathname); // DEPRECATED! | |||||||
| XVTDLL BOOLEAN        xvt_fsys_remove_file(const char *pathname); | XVTDLL BOOLEAN        xvt_fsys_remove_file(const char *pathname); | ||||||
| XVTDLL BOOLEAN        xvt_fsys_rename_file(const char *src_pathname, const char *dst_pathname); | XVTDLL BOOLEAN        xvt_fsys_rename_file(const char *src_pathname, const char *dst_pathname); | ||||||
| XVTDLL int            xvt_fsys_access(const char *pathname, int mode); | XVTDLL int            xvt_fsys_access(const char *pathname, int mode); | ||||||
|  | XVTDLL BOOLEAN        xvt_fsys_dir_exists(const char *pathname); | ||||||
| XVTDLL BOOLEAN        xvt_fsys_file_exists(const char *pathname); | XVTDLL BOOLEAN        xvt_fsys_file_exists(const char *pathname); | ||||||
| XVTDLL int            xvt_fsys_get_campo_stp_value(const char* name, char* value, int valsize); | XVTDLL int            xvt_fsys_get_campo_stp_value(const char* name, char* value, int valsize); | ||||||
| XVTDLL const char*    xvt_fsys_get_campo_ini(); | XVTDLL const char*    xvt_fsys_get_campo_ini(); | ||||||
|  | |||||||
| @ -125,7 +125,7 @@ void TMessageBox::AddButton(wxSizer* sz, wxWindowID id) | |||||||
| 
 | 
 | ||||||
| TMessageBox::TMessageBox(wxWindow* pParent, const wxString& msg, int nStyle, int nTimeout) | TMessageBox::TMessageBox(wxWindow* pParent, const wxString& msg, int nStyle, int nTimeout) | ||||||
|            : wxDialog(pParent, wxID_ANY, _GetAppTitle(), wxDefaultPosition, wxDefaultSize, |            : wxDialog(pParent, wxID_ANY, _GetAppTitle(), wxDefaultPosition, wxDefaultSize, | ||||||
|                       wxCAPTION | wxRAISED_BORDER), m_timer(this) |                       wxCAPTION | wxRAISED_BORDER | wxSTAY_ON_TOP), m_timer(this) | ||||||
| { | { | ||||||
|   TTaskWin* tw = wxDynamicCast(pParent ? pParent : _task_win, TTaskWin); |   TTaskWin* tw = wxDynamicCast(pParent ? pParent : _task_win, TTaskWin); | ||||||
|   if (tw != NULL) |   if (tw != NULL) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user