Search found 246 matches
- Fri Oct 07, 2005 8:19 pm
- Forum: C++ Development
- Topic: To stupid to use sizers
- Replies: 1
- Views: 2289
Hey Florianx, Well when you're working with the stretch capability of sizers, there's two factors you need to take into account. Those would be the second and third parameters to the Add function. The second parameter dictates if the control can stretch in the direction of the sizer's orientation . ...
- Wed Sep 28, 2005 7:22 pm
- Forum: Open Discussion
- Topic: Fox?
- Replies: 2
- Views: 2430
- Wed Sep 28, 2005 7:16 pm
- Forum: C++ Development
- Topic: wxURL.GetInputStream fails with file protocol
- Replies: 3
- Views: 1922
Try this:
That may not solve the problem but I read somewhere that you should call ConvertToValid first.
Code: Select all
wxString path = "c:\\whatever.xml";
path = wxURL::ConvertToValidURI(path)
wxURL url(path);
wxInputStream *data;
data = url.GetInputStream();
- Wed Sep 28, 2005 7:12 pm
- Forum: Compiler / Linking / IDE Related
- Topic: How to compile making use of VC++ 6.0: the real story...
- Replies: 3
- Views: 2712
- Wed Sep 28, 2005 12:12 pm
- Forum: Open Discussion
- Topic: Fox?
- Replies: 2
- Views: 2430
Fox?
Has anyone heard of Fox Toolkit? http://www.fox-toolkit.org/
It looks a lot like wx except not as extensive, but I was wondering if anyone had any experience with it and how it ranked in comparison to wx in your opinion.
It looks a lot like wx except not as extensive, but I was wondering if anyone had any experience with it and how it ranked in comparison to wx in your opinion.
- Wed Sep 21, 2005 11:03 pm
- Forum: C++ Development
- Topic: Deleting non-modal dialogs
- Replies: 9
- Views: 3072
Code: Select all
MyModal* modal = new MyModal(this);
// Show the modal dialog.. this function blocks
modal->ShowModal();
// After they push "OK" on modal and the OK button calls Hide();
// we destroy the dialog
modal->Destroy();
hope that helps...
- Thu Sep 15, 2005 4:40 am
- Forum: C++ Development
- Topic: Proxy Server with wxURL
- Replies: 15
- Views: 5073
It was a blasted bug in wx. I believe I've got it. in src\common\url.cpp I altered the code to be the following: // When we use a proxy, we have to pass the whole URL to it. wxInputStream *the_i_stream; if (!m_useProxy) { the_i_stream = m_protocol->GetInputStream(m_url); } else { wxString fullPath =...
- Wed Sep 14, 2005 8:09 pm
- Forum: C++ Development
- Topic: Proxy Server with wxURL
- Replies: 15
- Views: 5073
Sure,
goto = {"http://www.mycustomcd.com/index.php"}
and proxyStr = {"192.168.1.101:80"}
My ip is 192.168.1.102.
-Tyler
goto = {"http://www.mycustomcd.com/index.php"}
and proxyStr = {"192.168.1.101:80"}
My ip is 192.168.1.102.
-Tyler
- Wed Sep 14, 2005 12:22 pm
- Forum: C++ Development
- Topic: Proxy Server with wxURL
- Replies: 15
- Views: 5073
Hmm, even though I think my code is right, something is still awry. Here's what I'm using: wxInputStream *data; // wxURL::SetDefaultProxy(proxyStr); wxURL url2(goTo); // goto is the full url to a php script url2.SetProxy(proxyStr); //proxy string is in the format proxyServer:port data = url2.GetInpu...
- Tue Sep 13, 2005 5:49 pm
- Forum: Compiler / Linking / IDE Related
- Topic: C4663: C++ language change
- Replies: 3
- Views: 2017
- Fri Sep 09, 2005 2:55 am
- Forum: C++ Development
- Topic: Proxy Server with wxURL
- Replies: 15
- Views: 5073
- Fri Sep 09, 2005 1:54 am
- Forum: C++ Development
- Topic: Proxy Server with wxURL
- Replies: 15
- Views: 5073
- Thu Sep 08, 2005 12:23 pm
- Forum: C++ Development
- Topic: Proxy Server with wxURL
- Replies: 15
- Views: 5073
Proxy Server with wxURL
In my application I use wxURL to access the internet and retrieve information from a web page. The problem is, it doesn't work from behind my user's proxy server. How would I go about getting around this? Is it as simple as changing my url from www.wxforum.org to www.wxforum.org:proxyPort ? Thanks f...
- Mon Sep 05, 2005 4:14 pm
- Forum: C++ Development
- Topic: Child Threads Writing to Parent's Control
- Replies: 2
- Views: 1542
- Mon Sep 05, 2005 3:50 pm
- Forum: C++ Development
- Topic: Child Threads Writing to Parent's Control
- Replies: 2
- Views: 1542
Child Threads Writing to Parent's Control
Has anyone run into this bug before?
I keep getting this assertion when trying to write to a wxTextCtrl in my top level window from a child thread.C:\wxWidgets-2.6.1\src\msw\textctrl.cpp(122): assert "m_count == -1" failed: wrong initial m_updatesCount value [in child thread]