User forums > Help
About background colour of symbols window
mandrav:
--- Quote from: sethjackson on May 24, 2006, 03:22:44 pm ---Yes, but the real problem is wxFNB.
--- End quote ---
Yes, wxFNB was responsible back when we didn't use a panel for those comboboxes above the symbols browser.
But it isn't responsible anymore. It can't be. There's a wxPanel there. I don't understand why it behaves like that for you guys. As you can see from my screenshot above, it works fine here. As expected...
sethjackson:
This is how to "fix" (I'm not saying this code should go in SVN trunk just proving my point....).
--- Code: (diff) ---Index: src/sdk/wxFlatNotebook/wxFlatNotebook.cpp
===================================================================
--- src/sdk/wxFlatNotebook/wxFlatNotebook.cpp (revision 2498)
+++ src/sdk/wxFlatNotebook/wxFlatNotebook.cpp (working copy)
@@ -488,7 +488,7 @@
m_mainSizer = new wxBoxSizer(wxVERTICAL);
SetSizer(m_mainSizer);
- SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE));
+ SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT));
// Add the tab container to the sizer
m_mainSizer->Insert(0, m_pages, 0, wxEXPAND);
--- End code ---
sethjackson:
--- Quote from: mandrav on May 24, 2006, 03:28:38 pm ---
--- Quote from: sethjackson on May 24, 2006, 03:22:44 pm ---Yes, but the real problem is wxFNB.
--- End quote ---
Yes, wxFNB was responsible back when we didn't use a panel for those comboboxes above the symbols browser.
But it isn't responsible anymore. It can't be. There's a wxPanel there. I don't understand why it behaves like that for you guys. As you can see from my screenshot above, it works fine here. As expected...
--- End quote ---
mandrav see my post above. This only happens on Windows. The reason is wxSYS_COLOUR_APPWORKSPACE is a different color on Windows than on *nix. :D
mandrav:
OK, I think I see why this happens. Give me a few minutes...
tiwag:
--- Quote from: mandrav on May 24, 2006, 03:28:38 pm ---... I don't understand why it behaves like that for you guys. As you can see from my screenshot above, it works fine here. As expected...
--- End quote ---
it doesn't have the heart to misbehave at the boss's computer ... :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version