DBGrid::DBGrid(wxWindow *parent, const wxWindowID id,const wxPoint& pos,const wxSize& size, long style):
wxGrid(parent, id, pos, size, style)
{
- f_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
- wxPanel::SetFont(* f_Temp);
+ //f_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
+ //wxPanel::SetFont(* f_Temp);
b_EditModus = TRUE;
//----------------------------------------------------------------------------------------------------------------------------
popupMenu1 = new wxMenu("");
//---------------------------------------------------------------------------
int i=0,x,y,z, ValidTable=0;
wxString Temp0;
- SetLabelFont(* f_Temp);
+ //SetLabelFont(* f_Temp);
+
+ wxBeginBusyCursor();
//---------------------------------------------------------------------------
ct_BrowserDB = (db_Br+i_Which)->ct_BrowserDB; // Get the DSN Pointer
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
Weiter:
SetEditInPlace(b_EditModus); // Activate in-place Editing (FALSE)
+ wxEndBusyCursor();
//---------------------------------------------------------------------------
wxLogMessage(_("-I-> DBGrid::OnTableView() - End"));
return 0;
int i_ViewNr; // View Nummer in Tab / Page
int i_Which; // Which View, Database is this/using
//-------------------------------------------
- wxFont* f_Temp;
+// wxFont* f_Temp;
mjDoc* pDoc;
wxDbInf* ct_BrowserDB;
BrowserDB* db_Br;
DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size, long style)
: wxTreeCtrl(parent, id, pos, size, style)
{
- wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
- SetFont(* ft_Temp);
+ //wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
+ //SetFont(* ft_Temp);
// Make an image list containing small icons
p_imageListNormal = new wxImageList(16, 16, TRUE);
wxTreeItemId Root, Folder, Docu, Funkt;
int i,x,y;
wxString SQL_TYPE, DB_TYPE;
- wxBeginBusyCursor();
+
//----------------------------------------------------------------------------------------------------------------------------
if((pDoc->db_Br+i_Which)->Initialize(FALSE))
{
+ wxBeginBusyCursor();
ct_BrowserDB = (pDoc->db_Br+i_Which)->OnGetCatalog(FALSE);
if (ct_BrowserDB)
{ // Use the wxDatabase Information
Root = AddRoot(Temp0,TreeIc_DsnOpen,TreeIc_DsnOpen,new DBTreeData("Root"));
for (x=0;x<ct_BrowserDB->numTables;x++)
{
+ wxYield();
if (!wxStrcmp((ct_BrowserDB->pTableInf+x)->tableType,"TABLE")) // only TABLES
{
Temp0.Printf(_("Tablename(%s) with (%d)Columns ; Remarks(%s)"), (ct_BrowserDB->pTableInf+x)->tableName,
} // if (ct_BrowserDB)
else
wxLogMessage(_("\n-E-> DBTree::OnPopulate() : Invalid Catalog Pointer : Failed"));
+ wxEndBusyCursor();
} // if((pDoc->db_Br+i_Which)->Initialize(FALSE))
else
{
- wxEndBusyCursor();
return 0;
//wxLogMessage(_("\n-E-> DBTree::OnPopulate() : A valid Pointer could not be created : Failed"));
}
popupMenu2->AppendSeparator();
popupMenu2->Append(DATA_TABLE, _("Make wxTable.cpp/h "));
//----------------------------------------------------------------------------------------------------------------------------
- wxEndBusyCursor();
+
return 0;
}
//---------------------------------------------------------------------------
//--------------------------------------------------------------------------
p_LogWin = new wxTextCtrl(p_PageArea,-1,wxEmptyString,
wxDefaultPosition, wxDefaultSize,wxTE_MULTILINE );
- wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
- p_LogWin->SetFont(* ft_Temp);
+ //wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
+ //p_LogWin->SetFont(* ft_Temp);
// Don't forget ! This is always : i_TabArt = 0 ; i_ViewNr = 1;
//------------------------------------------------------------------
p_LogBook = new wxLogTextCtrl(p_LogWin); // make p_LogWin the LogBook
+++ /dev/null
- DBBrowse
-
+++ /dev/null
- set WXWIN=F:\wxWindows
- nmake -f makefile.vc FINAL=1
+++ /dev/null
- set WXWIN=F:/wxWindows22B
- set WXWIN=F:/wxWindows
- make -f makefile.g95
- rem st
- set WXWIN=F:\wxWindows
+++ /dev/null
- set WXWIN=F:\wxWindows22B
- set WXWIN=F:\wxWindows
- nmake -f makefile.vc FINAL=1
+++ /dev/null
- erase *.res
- erase *.obj
- erase *.o
- go
PgmCtrl::PgmCtrl(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size, long style)
: wxTreeCtrl(parent, id, pos, size, style)
{
- wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
- SetFont(* ft_Temp);
+ //wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
+ //SetFont(* ft_Temp);
// Make an image list containing small icons
p_imageListNormal = new wxImageList(16, 16, TRUE);