User forums > Help

problem with wxSmith and Mac-OSX

<< < (2/7) > >>

Auria:

--- Quote from: byo on May 24, 2007, 08:45:21 pm ---That's really weird  :?  I'll have to think about some other patch because the only reason for no extra text I find now is that there's some problem with DC.DrawText or text position. Maybe some big coloured rectangles will be better ;)

Regards
BYO

--- End quote ---

I actually would try std::cout ;) there's no way it doesn't work

Unfortunately I won't be able to try it out soon, as i installed a static wxWidgets 2.8.4 for another app and now the C::B build is all messed up ( compilling wx and C::B on my computer takes hours...  :? )

I'll need to check if there is a way to tell C::B which wx version to use when there are many, i never remember

byo:

--- Quote from: Auria on May 24, 2007, 09:31:07 pm ---I actually would try std::cout ;) there's no way it doesn't work

Unfortunately I won't be able to try it out soon, as i installed a static wxWidgets 2.8.4 for another app and now the C::B build is all messed up ( compilling wx and C::B on my computer takes hours...  :? )

I'll need to check if there is a way to tell C::B which wx version to use when there are many, i never remember

--- End quote ---

std::cout won't help here because I want to see what can be shown inside editor area. I've seen on some screens that there are drag boxes and this prooves that something can actually be drawn over edited items. Now we only need to find out what function sucseeded to draw and what actually clears the screen right after.

I've created new patch - instead of drawing text, it draws reactangle filled with red/greed/blue. Can anybody test this patch and send me the result ? I've attached the result of this patch on windows.

BYO



[attachment deleted by admin]

Auria:
Perhaps i did something wrong?


--- Code: ---patching file wxsdrawingwindow.cpp
Hunk #1 FAILED at 82.
Hunk #2 succeeded at 110 (offset -1 lines).
Hunk #3 FAILED at 158.
Hunk #4 succeeded at 250 (offset -1 lines).
patch: **** malformed patch at line 78: Index: wxsdrawingwindow.h

--- End code ---

i applied it to the file as it is in svn, rev 4011

byo:
I probably messed up the patch. Try this one :)

BYO

[attachment deleted by admin]

Auria:

--- Quote from: byo on May 30, 2007, 10:27:11 am ---I probably messed up the patch. Try this one :)

BYO

--- End quote ---

this one applies fine, thanks

i haven't been able to test it yet, i once again messed up my C::B build (errors are expensive when building the app takes over 2 hours :( )

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version