Use this style to suppress the display of the root node, effectively causing the first-level nodes to appear as a series of root nodes.
Search found 19 matches
- Sat Sep 24, 2005 9:51 am
- Forum: C++ Development
- Topic: wxTreeCtrl question.
- Replies: 5
- Views: 1510
- Fri Sep 23, 2005 4:42 am
- Forum: C++ Development
- Topic: wxNotebook wrong focus when hide.
- Replies: 9
- Views: 2867
Re: wxNotebook wrong focus when hide.
sel = event.GetSelection(); if ( sel != -1 ) { wxNotebookPage *pPage = m_pages[sel]; pPage->Show(true); } if ( IsShown() ) SetFocus(); m_nSelection = sel; I will post a patch to SF. I think, we have to check for visibility all parents. if we just check IsShown() - so, wxNotebook is NOT hidden on fo...
- Thu Sep 22, 2005 11:24 am
- Forum: C++ Development
- Topic: wxNotebook wrong focus when hide.
- Replies: 9
- Views: 2867
- Thu Sep 22, 2005 5:52 am
- Forum: C++ Development
- Topic: wxNotebook wrong focus when hide.
- Replies: 9
- Views: 2867
wxNotebook wrong focus when hide.
is it right to set focus when window with wxNotebook is hidden? MyFrame::MyFrame() { wxNotebook* sometabs = new wxNotebook(); } //... this->Show(false);//hide form //... sometabs->AddPage(/*...*/);//addpage. what going on: wxNotebook::AddPage() -> wxNotebook::InsertPage() -> wxNotebook::SetSelection...
- Thu Sep 22, 2005 4:16 am
- Forum: C++ Development
- Topic: wxHtmlWindow and online images ?
- Replies: 11
- Views: 3612
at first, load to string tmp.html (htm)xtn wrote: Ok, but in that way how to get the images ?
then parse it by regex something like that:
Code: Select all
<img[^>src]+src=(('|")?[^'"\s]*('|")?)
- Wed Sep 21, 2005 6:41 am
- Forum: C++ Development
- Topic: how to append conent to a file?
- Replies: 5
- Views: 1542
i always use that:
[/code]
Code: Select all
wxFFile f;
f.Open("some","ab");//for not text.
- Thu Sep 15, 2005 10:10 am
- Forum: C++ Development
- Topic: Wrong logic in wxHtmlWindow?
- Replies: 3
- Views: 1233
Hi! The logic is quite correct. You forgot to quote one important ifdef block: #if !wxUSE_UNICODE So, using the control your way in a unicode build should work correctly. Otherwise it will reset the encoding. Try again with a unicode build. but i am not using Unicode and do not want and do not on t...
- Thu Sep 15, 2005 10:05 am
- Forum: C++ Development
- Topic: Wrong logic in wxHtmlWindow?
- Replies: 3
- Views: 1233
now i use this code to pass this problem
Code: Select all
class HtmlChatBox : public wxHtmlWindow
{
bool HtmlChatBox::SetPage(wxString& source)
{
m_Parser->SetInputEncoding(wxFONTENCODING_CP1251);
return wxHtmlWindow::SetPage(source);
}
}
- Thu Sep 15, 2005 9:52 am
- Forum: C++ Development
- Topic: Wrong logic in wxHtmlWindow?
- Replies: 3
- Views: 1233
Wrong logic in wxHtmlWindow?
i write this code:
Code: Select all
//assume that's wxFrame child class...
wxHtmlWindow* myhtml = new wxHtmlWindow(this);
myhtml->SetInputEncoding(wxFONTENCODING_CP1251);
myhtml->AppendToPage("<center>!!!some this in cyrilic (
- Mon Sep 12, 2005 6:40 am
- Forum: C++ Development
- Topic: Newlines in tooltips
- Replies: 16
- Views: 6125
I see the change in the code but I do not want to apply it blindly so I would like to ask for some more from you. Could you please write some explanation why do you want once again measure the font in that place? Moreover could you modernize your patch so it could not duplicate code from other plac...
- Fri Sep 09, 2005 1:41 pm
- Forum: C++ Development
- Topic: Newlines in tooltips
- Replies: 16
- Views: 6125
- Tue Aug 16, 2005 12:11 pm
- Forum: The Code Dump
- Topic: Latest wxTreeMultiCtrl Code
- Replies: 36
- Views: 18452
- Fri Jul 22, 2005 6:40 am
- Forum: The Code Dump
- Topic: Latest wxTreeMultiCtrl Code
- Replies: 36
- Views: 18452
- Wed Jul 20, 2005 11:37 am
- Forum: The Code Dump
- Topic: Latest wxTreeMultiCtrl Code
- Replies: 36
- Views: 18452
- Wed Jul 20, 2005 10:49 am
- Forum: The Code Dump
- Topic: Latest wxTreeMultiCtrl Code
- Replies: 36
- Views: 18452
i think its because not correct img_data allocation. i use wxWidgets 2.6.1 (static. debug. nonunicode) i see the default_expand.xpm - it ok. one question: may it be if i compiled wxTreeMultiCtrl under: F:\wxWidgets-2.6.1\treemultictrl\ - folder, not in wxWidgets folder itself? after that move .h and...