wxtrac

Results 301 comments of wxtrac

#### 2011-12-29 09:42:28: vid (vid) commented ___ Unfortunately, it's somewhat more complicated. Code I posted doesn't work immediately after I create wxTextCtrl with desired dimensions and text. At this moment,...

#### 2011-12-29 12:48:04: @vadz commented ___ Does this happen even if you explicitly set the control size to something non-default and/or call Layout() when using sizers?

#### 2012-01-01 16:47:08: vid (vid) commented ___ Yes, explicit size setting has no effect on number of lines returned, until events are processed.

#### 2012-01-05 13:58:31: @vadz commented ___ Somebody would need to look at GTK+ sources to see if we can somehow trigger the layout or whatever is necessary to get the...

#### 2012-01-06 19:50:55: vid (vid) commented ___ It seems there was a patch for this 6 years ago: #7748

#### 2012-01-06 22:06:59: @vadz commented ___ Thanks, I completely forgot about this patch. But it seems to do exactly the same thing as the code in comment:4 so I'd expect...

#### 2012-01-10 16:25:24: vid (vid) commented ___ You aren't missing anything, I just pointed out previous dealing with the same issue.

#### 2014-09-23 19:39:10: @vadz commented ___ In 77766: in wxGTK, wxOSX/Cocoa, plus wxUniv, GetNumberOfLines() always returns the number of logical, not physical, lines. See #12366, maybe they did not test...

#### 2019-07-19 06:13:47: @oneeyeman1 commented ___ The current code of GetNumberOfLines() for the m_richtext control of the text sample returns 22 on MSW and 12 on OSX/Cocoa. It looks like...

#### 2019-07-20 01:15:33: @vadz commented ___ Are you sure wxGTK returns the number of physical lines? The documentation is wrong in this case.