mirror of
https://gitlab.com/manzerbredes/cgeditor.git
synced 2025-04-19 03:59:44 +00:00
Debug comments$
This commit is contained in:
parent
2bb6730df8
commit
144a3ddfb5
5 changed files with 39 additions and 36 deletions
|
@ -29,9 +29,10 @@ private:
|
|||
void OnPaint(wxPaintEvent &event) {
|
||||
wxPaintDC current_dc(this);
|
||||
dc = ¤t_dc;
|
||||
wxSize fontsize=dc->GetTextExtent("a");
|
||||
|
||||
wxLogDebug("width=%d, height=%d",fontsize.x,fontsize.y);
|
||||
// Just in case you want to fetch font sizes to configure comment text:
|
||||
//wxSize fontsize=dc->GetTextExtent("a");
|
||||
//wxLogDebug("width=%d, height=%d",fontsize.x,fontsize.y);
|
||||
|
||||
// Refresh canvas size
|
||||
wxSize sz = GetClientSize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue