add busycursors and remove fonts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-01-31 15:02:05 +00:00
parent 13b59a33b4
commit b3630c4fb4
10 changed files with 18 additions and 29 deletions

View File

@@ -59,8 +59,8 @@ BEGIN_EVENT_TABLE(DBGrid, wxGrid)
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("");
@@ -78,7 +78,9 @@ int DBGrid::OnTableView(wxString Table)
//---------------------------------------------------------------------------
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
//----------------------------------------------------------------------------
@@ -135,6 +137,7 @@ int DBGrid::OnTableView(wxString Table)
//---------------------------------------------------------------------------
Weiter:
SetEditInPlace(b_EditModus); // Activate in-place Editing (FALSE)
wxEndBusyCursor();
//---------------------------------------------------------------------------
wxLogMessage(_("-I-> DBGrid::OnTableView() - End"));
return 0;